diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-19 19:32:40 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-20 04:48:05 -0500 |
commit | 4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 (patch) | |
tree | 488d6531d688c68713baa5c1d70fb37be198b861 /src/account.h | |
parent | 303976e563608d8a1f4eb09ac5c9402ae5ce74fd (diff) | |
download | fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.gz fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.tar.bz2 fork-ledger-4681e58d7f3cda2a2ac6d05b6ec1a106f568e029.zip |
Converted the Ledger build system to use CMake
Diffstat (limited to 'src/account.h')
-rw-r--r-- | src/account.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/account.h b/src/account.h index 1716102f..a2fcb8de 100644 --- a/src/account.h +++ b/src/account.h @@ -70,7 +70,7 @@ public: optional<expr_t> value_expr; mutable string _fullname; -#ifdef DOCUMENT_MODEL +#if DOCUMENT_MODEL mutable void * data; #endif @@ -80,7 +80,7 @@ public: : supports_flags<>(), scope_t(), parent(_parent), name(_name), note(_note), depth(static_cast<unsigned short>(parent ? parent->depth + 1 : 0)) -#ifdef DOCUMENT_MODEL +#if DOCUMENT_MODEL , data(NULL) #endif { @@ -93,7 +93,7 @@ public: note(other.note), depth(other.depth), accounts(other.accounts) -#ifdef DOCUMENT_MODEL +#if DOCUMENT_MODEL , data(NULL) #endif { @@ -282,7 +282,7 @@ public: bool children_with_xdata() const; std::size_t children_with_flags(xdata_t::flags_t flags) const; -#if defined(HAVE_BOOST_SERIALIZATION) +#if HAVE_BOOST_SERIALIZATION private: /** Serialization. */ |