diff options
-rw-r--r-- | src/history.cc | 4 | ||||
-rw-r--r-- | src/system.hh.in | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/history.cc b/src/history.cc index cf92d096..25335680 100644 --- a/src/history.cc +++ b/src/history.cc @@ -34,9 +34,7 @@ #include <boost/graph/adjacency_list.hpp> #include <boost/graph/filtered_graph.hpp> #include <boost/graph/dijkstra_shortest_paths.hpp> -#if 0 #include <boost/graph/graphviz.hpp> -#endif #include "history.h" @@ -583,7 +581,6 @@ private: void commodity_history_impl_t::print_map(std::ostream& out, const datetime_t& moment) { -#if 0 if (moment.is_not_a_date_time()) { write_graphviz(out, price_graph, label_writer<NameMap>(get(vertex_name, price_graph))); @@ -593,7 +590,6 @@ void commodity_history_impl_t::print_map(std::ostream& out, (get(edge_weight, price_graph), pricemap, ratiomap, moment)); write_graphviz(out, fg, label_writer<FNameMap>(get(vertex_name, fg))); } -#endif } } // namespace ledger diff --git a/src/system.hh.in b/src/system.hh.in index 35396c90..1b870d55 100644 --- a/src/system.hh.in +++ b/src/system.hh.in @@ -212,6 +212,9 @@ typedef std::ostream::pos_type ostream_pos_type; #include <boost/random/uniform_real.hpp> #include <boost/random/variate_generator.hpp> +// jww (2012-05-20): This must be included before Boost.Regex +#include <boost/xpressive/xpressive_static.hpp> + #if HAVE_BOOST_REGEX_UNICODE #include <boost/regex/icu.hpp> #else |