]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/smux.h
Fix occasional crash on second and more reload in SMUX plugin
[stg.git] / projects / stargazer / plugins / other / smux / smux.h
index 24f7de32a384d9ede2cbc142e5303ef288e99d63..adeb50af0e7cdb256d5c883303cda2ae42cc32ec 100644 (file)
@@ -65,7 +65,7 @@ public:
                    smux(rvalue.smux), userPtr(rvalue.userPtr) {}
     void     Notify(const std::string &, const std::string &);
 
-    USER_PTR GetUserPtr() { return userPtr; }
+    USER_PTR GetUserPtr() const { return userPtr; }
 
 private:
     CHG_AFTER_NOTIFIER & operator=(const CHG_AFTER_NOTIFIER & rvalue);