From 7e3cc3c3ed81a14576c3db9eb2109f8ec04d698f Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 16 Aug 2014 08:33:12 -0700 Subject: [PATCH] Copy properties of log tracer The log tracer needs to copy its parameters, otherwise weird things happen. --- src/log.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/log.hh b/src/log.hh index 24727ef..31e3a23 100644 --- a/src/log.hh +++ b/src/log.hh @@ -69,8 +69,8 @@ struct Tracer ~Tracer(); private: - const std::string& mName; - const std::string& mFunction; + const std::string mName; + const std::string mFunction; };