|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r60634 - sandbox/xml/boost/xml/dom
From: seefeld_at_[hidden]
Date: 2010-03-15 21:45:56
Author: stefan
Date: 2010-03-15 21:45:55 EDT (Mon, 15 Mar 2010)
New Revision: 60634
URL: http://svn.boost.org/trac/boost/changeset/60634
Log:
Mark functions inline to avoid duplicate symbol errors.
Text files modified:
sandbox/xml/boost/xml/dom/io.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/xml/boost/xml/dom/io.hpp
==============================================================================
--- sandbox/xml/boost/xml/dom/io.hpp (original)
+++ sandbox/xml/boost/xml/dom/io.hpp 2010-03-15 21:45:55 EDT (Mon, 15 Mar 2010)
@@ -14,13 +14,13 @@
{
namespace detail
{
-int stream_write_callback(void *context, const char *buffer, int len)
+inline int stream_write_callback(void *context, const char *buffer, int len)
{
std::streambuf *sb = reinterpret_cast<std::streambuf *>(context);
int written = sb->sputn(buffer, len);
return written;
}
-int stream_close_callback(void *context) { return 0;}
+inline int stream_close_callback(void *context) { return 0;}
}
template <typename S>
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