Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71259 - trunk/boost/chrono/detail
From: vicente.botet_at_[hidden]
Date: 2011-04-14 15:56:11


Author: viboes
Date: 2011-04-14 15:56:10 EDT (Thu, 14 Apr 2011)
New Revision: 71259
URL: http://svn.boost.org/trac/boost/changeset/71259

Log:
Chrono: Fix #5407 linker error when using boost::chrono in more than one cpp file
Text files modified:
   trunk/boost/chrono/detail/scan_keyword.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/chrono/detail/scan_keyword.hpp
==============================================================================
--- trunk/boost/chrono/detail/scan_keyword.hpp (original)
+++ trunk/boost/chrono/detail/scan_keyword.hpp 2011-04-14 15:56:10 EDT (Thu, 14 Apr 2011)
@@ -30,7 +30,7 @@
 namespace chrono {
 namespace chrono_detail {
 
-void free_aux(void* ptr) { free(ptr); }
+inline void free_aux(void* ptr) { free(ptr); }
 
 // scan_keyword
 // Scans [b, e) until a match is found in the basic_strings range


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