Boost logo

Boost-Commit :

From: ramey_at_[hidden]
Date: 2008-06-25 00:48:28


Author: ramey
Date: 2008-06-25 00:48:27 EDT (Wed, 25 Jun 2008)
New Revision: 46675
URL: http://svn.boost.org/trac/boost/changeset/46675

Log:
error in usage of BOOST_USED
Text files modified:
   trunk/boost/serialization/singleton.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/serialization/singleton.hpp
==============================================================================
--- trunk/boost/serialization/singleton.hpp (original)
+++ trunk/boost/serialization/singleton.hpp 2008-06-25 00:48:27 EDT (Wed, 25 Jun 2008)
@@ -100,7 +100,7 @@
     BOOST_DLLEXPORT static T & instance;
     // include this to provoke instantiation at pre-execution time
     static void use(T const &) {}
- BOOST_DLLEXPORT static T & get_instance() BOOST_USED {
+ BOOST_DLLEXPORT static T & get_instance() {
         static T t;
         // refer to instance, causing it to be instantiated (and
         // initialized at startup on working compilers)


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