Fix: cpp-common/bt2c: copy `_mSelfCompCls` when constructing `Logger`
[babeltrace.git] / src / cpp-common / bt2c / logging.hpp
index e258beaf852f50243229f7d5070be756381b372d..c36e19b710d9d1863c4f367fe08b951a06446104 100644 (file)
@@ -134,7 +134,8 @@ public:
      * `newTag`.
      */
     explicit Logger(const Logger& other, std::string newTag) :
-        _mSelfComp {other._mSelfComp}, _mSelfMsgIter {other._mSelfMsgIter},
+        _mSelfCompCls {other._mSelfCompCls}, _mSelfComp {other._mSelfComp},
+        _mSelfMsgIter {other._mSelfMsgIter},
         _mModuleName {other._mModuleName}, _mLevel {other._mLevel}, _mTag {std::move(newTag)}
     {
     }
This page took 0.023173 seconds and 4 git commands to generate.