Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62674 - branches/release/libs/date_time/test
From: andrey.semashev_at_[hidden]
Date: 2010-06-09 13:36:07


Author: andysem
Date: 2010-06-09 13:36:07 EDT (Wed, 09 Jun 2010)
New Revision: 62674
URL: http://svn.boost.org/trac/boost/changeset/62674

Log:
Added inline qualifiers. Fixes #3647.

Text files modified:
   branches/release/libs/date_time/test/testfrmwk.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/libs/date_time/test/testfrmwk.hpp
==============================================================================
--- branches/release/libs/date_time/test/testfrmwk.hpp (original)
+++ branches/release/libs/date_time/test/testfrmwk.hpp 2010-06-09 13:36:07 EDT (Wed, 09 Jun 2010)
@@ -34,14 +34,14 @@
     }
     out << std::endl;
   }
-private:
+private:
   TestStats() : testcount_(0), passcount_(0) {}
   unsigned int testcount_;
   unsigned int passcount_;
 };
 
 
-bool check(const std::string& testname, bool testcond)
+inline bool check(const std::string& testname, bool testcond)
 {
   TestStats& stat = TestStats::instance();
   if (testcond) {
@@ -79,7 +79,7 @@
 }
 #endif
 
-int printTestStats()
+inline int printTestStats()
 {
   TestStats& stat = TestStats::instance();
   stat.print();


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