summaryrefslogtreecommitdiff
path: root/src/flags.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/flags.h')
-rw-r--r--src/flags.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/flags.h b/src/flags.h
index fb51a3e6..21607fc2 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -75,6 +75,11 @@ public:
TRACE_DTOR(supports_flags);
}
+ supports_flags& operator=(const supports_flags& other) {
+ _flags = other._flags;
+ return *this;
+ }
+
flags_t flags() const {
return _flags;
}