summaryrefslogtreecommitdiff
path: root/src/flags.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-10-27 22:26:13 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-10-27 22:26:13 -0400
commit58fb65421829de49a3b27800ce54e093d45f0f41 (patch)
tree18fb188d4bfb45677ec0a660f0b6cd5019601621 /src/flags.h
parent3c30f74931bbe94484da82481eb9d3b788347907 (diff)
parent6c9cf1237e1e813c2d56ed51a38cc0685614e8e0 (diff)
downloadfork-ledger-58fb65421829de49a3b27800ce54e093d45f0f41.tar.gz
fork-ledger-58fb65421829de49a3b27800ce54e093d45f0f41.tar.bz2
fork-ledger-58fb65421829de49a3b27800ce54e093d45f0f41.zip
Merge branch 'next'
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;
}