Boost logo

Boost-Commit :

From: john.groups_at_[hidden]
Date: 2008-01-18 17:40:47


Author: jtorjo
Date: 2008-01-18 17:40:47 EST (Fri, 18 Jan 2008)
New Revision: 42860
URL: http://svn.boost.org/trac/boost/changeset/42860

Log:
[logging]
solved bug - did not compile, extra ()
Text files modified:
   sandbox/logging/lib/logging/samples/starter/log.h | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/logging/lib/logging/samples/starter/log.h
==============================================================================
--- sandbox/logging/lib/logging/samples/starter/log.h (original)
+++ sandbox/logging/lib/logging/samples/starter/log.h 2008-01-18 17:40:47 EST (Fri, 18 Jan 2008)
@@ -44,7 +44,7 @@
 
 // Step 4: declare which filters and loggers you'll use
 BOOST_DECLARE_LOG_FILTER(g_l_filter, finder::filter)
-BOOST_DECLARE_LOG(g_l(), finder::logger)
+BOOST_DECLARE_LOG(g_l, finder::logger)
 
 // Step 5: define the macros through which you'll log
 #define L_ BOOST_LOG_USE_LOG_IF_FILTER(g_l(), g_log_filter()->is_enabled() )


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk