mirror of
https://github.com/KjellKod/g3log.git
synced 2025-01-31 14:39:54 +01:00
Corrected lambda bug. Capture this.
This commit is contained in:
parent
b490624ea0
commit
f4c939dc8a
@ -46,7 +46,7 @@ namespace g2 {
|
||||
virtual ~Sink() { _bg.reset(); }
|
||||
|
||||
void send(LogEntry msg) override {
|
||||
_bg->send([ = ]{_default_log_call(msg);});
|
||||
_bg->send([this, msg]{_default_log_call(msg);});
|
||||
}
|
||||
|
||||
template<typename Call, typename... Args>
|
||||
|
Loading…
x
Reference in New Issue
Block a user