From b0f28bd39db1732db794c6ba1f02d244bce0641c Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Mar 2011 11:37:49 +0200 Subject: Move tracer to new ctor-less context --- odb/context.hxx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'odb/context.hxx') diff --git a/odb/context.hxx b/odb/context.hxx index d7bfa0d..859a665 100644 --- a/odb/context.hxx +++ b/odb/context.hxx @@ -415,27 +415,22 @@ protected: }; public: - virtual - ~context (); - typedef context root_context; + virtual + ~context (); + context (); context (std::ostream&, semantics::unit&, options_type const&, data_ptr = data_ptr ()); - context (const context&); - static context& current () { return *current_; } -protected: - context (); - private: static context* current_; -- cgit v1.1