summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-19 19:32:40 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-20 04:48:05 -0500
commit4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 (patch)
tree488d6531d688c68713baa5c1d70fb37be198b861 /src/commodity.h
parent303976e563608d8a1f4eb09ac5c9402ae5ce74fd (diff)
downloadfork-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/commodity.h')
-rw-r--r--src/commodity.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 82be0ee8..ab496850 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -69,7 +69,7 @@ struct price_point_t
return when == other.when && price == other.price;
}
-#if defined(HAVE_BOOST_SERIALIZATION)
+#if HAVE_BOOST_SERIALIZATION
private:
/** Serialization. */
@@ -138,7 +138,7 @@ protected:
TRACE_DTOR(commodity_t::base_t);
}
-#if defined(HAVE_BOOST_SERIALIZATION)
+#if HAVE_BOOST_SERIALIZATION
private:
base_t() {
TRACE_CTOR(base_t, "");
@@ -314,7 +314,7 @@ public:
bool operator()(const amount_t * left, const amount_t * right) const;
};
-#if defined(HAVE_BOOST_SERIALIZATION)
+#if HAVE_BOOST_SERIALIZATION
private:
supports_flags<uint_least16_t> temp_flags;