$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r61421 - in trunk/libs/spirit/example/scheme: output utree/detail
From: hartmut.kaiser_at_[hidden]
Date: 2010-04-20 08:27:26
Author: hkaiser
Date: 2010-04-20 08:27:26 EDT (Tue, 20 Apr 2010)
New Revision: 61421
URL: http://svn.boost.org/trac/boost/changeset/61421
Log:
Spirit: minor scheme fixes
Text files modified: 
   trunk/libs/spirit/example/scheme/output/utree_traits.hpp        |    20 ++++++++++----------                    
   trunk/libs/spirit/example/scheme/utree/detail/utree_detail2.hpp |     4 ++--                                    
   2 files changed, 12 insertions(+), 12 deletions(-)
Modified: trunk/libs/spirit/example/scheme/output/utree_traits.hpp
==============================================================================
--- trunk/libs/spirit/example/scheme/output/utree_traits.hpp	(original)
+++ trunk/libs/spirit/example/scheme/output/utree_traits.hpp	2010-04-20 08:27:26 EDT (Tue, 20 Apr 2010)
@@ -15,6 +15,16 @@
 #include <boost/spirit/include/karma.hpp>
 
 ///////////////////////////////////////////////////////////////////////////////
+namespace boost
+{
+    template <typename T>
+    inline T get(scheme::utree const& x)
+    {
+        return x.as<T>();
+    }
+}
+
+///////////////////////////////////////////////////////////////////////////////
 namespace boost { namespace spirit { namespace traits
 {
     ///////////////////////////////////////////////////////////////////////////
@@ -246,14 +256,4 @@
     };
 }}}
 
-///////////////////////////////////////////////////////////////////////////////
-namespace boost
-{
-    template <typename T>
-    inline T get(scheme::utree const& x)
-    {
-        return x.as<T>();
-    }
-}
-
 #endif
Modified: trunk/libs/spirit/example/scheme/utree/detail/utree_detail2.hpp
==============================================================================
--- trunk/libs/spirit/example/scheme/utree/detail/utree_detail2.hpp	(original)
+++ trunk/libs/spirit/example/scheme/utree/detail/utree_detail2.hpp	2010-04-20 08:27:26 EDT (Tue, 20 Apr 2010)
@@ -35,14 +35,14 @@
         info() = (t << 1) | (info() & 1);
     }
 
-    short fast_string::tag() const
+    inline short fast_string::tag() const
     {
         // warning the tag is not allowed for fast_string!!! it's only
         // placed here to avoid excess padding.
         return (int(buff[small_string_size-2]) << 8) + buff[small_string_size-1];
     }
 
-    void fast_string::tag(short tag)
+    inline void fast_string::tag(short tag)
     {
         // warning the tag is not allowed for fast_string!!! it's only
         // placed here to avoid excess padding.