summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/dynref.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dynref.h b/include/dynref.h
index 8d55d10aa..2436720aa 100644
--- a/include/dynref.h
+++ b/include/dynref.h
@@ -52,7 +52,7 @@ class CoreExport dynamic_reference_base : public interfacebase, public insp::int
void SetCaptureHook(CaptureHook* h) { hook = h; }
void check();
- operator bool() { return (value != NULL); }
+ operator bool() const { return (value != NULL); }
static void reset_all();
};