diff --git a/include/crucible/cache.h b/include/crucible/cache.h index a5b9581..dac2a8a 100644 --- a/include/crucible/cache.h +++ b/include/crucible/cache.h @@ -8,6 +8,7 @@ #include #include #include +#include namespace crucible { using namespace std; diff --git a/include/crucible/chatter.h b/include/crucible/chatter.h index 6486202..d14c80c 100644 --- a/include/crucible/chatter.h +++ b/include/crucible/chatter.h @@ -86,16 +86,6 @@ namespace crucible { } }; - template <> - struct ChatterTraits { - Chatter & - operator()(Chatter &c, ostream & arg) - { - c.get_os() << arg; - return c; - } - }; - class ChatterBox { string m_file; int m_line; diff --git a/lib/chatter.cc b/lib/chatter.cc index 2ebe841..c9d187b 100644 --- a/lib/chatter.cc +++ b/lib/chatter.cc @@ -15,7 +15,7 @@ namespace crucible { using namespace std; - static auto_ptr> chatter_names; + static shared_ptr> chatter_names; static const char *SPACETAB = " \t"; static diff --git a/src/bees-context.cc b/src/bees-context.cc index d4a78c7..932c01a 100644 --- a/src/bees-context.cc +++ b/src/bees-context.cc @@ -5,6 +5,7 @@ #include #include +#include using namespace crucible; using namespace std;