Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57768 - branches/quickbook-1.5-spirit2/detail
From: daniel_james_at_[hidden]
Date: 2009-11-18 18:09:17


Author: danieljames
Date: 2009-11-18 18:09:15 EST (Wed, 18 Nov 2009)
New Revision: 57768
URL: http://svn.boost.org/trac/boost/changeset/57768

Log:
Fix a couple of warnings.
Text files modified:
   branches/quickbook-1.5-spirit2/detail/actions.cpp | 3 +++
   branches/quickbook-1.5-spirit2/detail/actions.hpp | 7 ++-----
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: branches/quickbook-1.5-spirit2/detail/actions.cpp
==============================================================================
--- branches/quickbook-1.5-spirit2/detail/actions.cpp (original)
+++ branches/quickbook-1.5-spirit2/detail/actions.cpp 2009-11-18 18:09:15 EST (Wed, 18 Nov 2009)
@@ -25,6 +25,9 @@
 
 namespace quickbook
 {
+ char const* quickbook_get_date = "__quickbook_get_date__";
+ char const* quickbook_get_time = "__quickbook_get_time__";
+
     namespace {
         std::string fully_qualified_id(std::string const& library_id,
             std::string const& qualified_section_id,

Modified: branches/quickbook-1.5-spirit2/detail/actions.hpp
==============================================================================
--- branches/quickbook-1.5-spirit2/detail/actions.hpp (original)
+++ branches/quickbook-1.5-spirit2/detail/actions.hpp 2009-11-18 18:09:15 EST (Wed, 18 Nov 2009)
@@ -286,11 +286,8 @@
         collector& out;
     };
 
- namespace
- {
- char const* quickbook_get_date = "__quickbook_get_date__";
- char const* quickbook_get_time = "__quickbook_get_time__";
- }
+ extern char const* quickbook_get_date;
+ extern char const* quickbook_get_time;
 
     struct do_macro_action
     {


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