Boost logo

Boost-Commit :

From: chintanraoh_at_[hidden]
Date: 2008-06-12 13:04:59


Author: chintanraoh
Date: 2008-06-12 13:04:59 EDT (Thu, 12 Jun 2008)
New Revision: 46356
URL: http://svn.boost.org/trac/boost/changeset/46356

Log:
minor change. inlined one function.
Text files modified:
   sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/pat_key_traits.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/pat_key_traits.hpp
==============================================================================
--- sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/pat_key_traits.hpp (original)
+++ sandbox/SOC/2008/digital_searching/dsearch/boost/dsearch/pat_key_traits.hpp 2008-06-12 13:04:59 EDT (Thu, 12 Jun 2008)
@@ -12,12 +12,13 @@
         public:
         typedef unsigned char element_type; //element type = unsigned type with size 2^(8*2^n) upto n=3. ie "unsigned long long";
         typedef std::string::const_iterator const_iterator ;
- static const_iterator &begin (std:string &key)
+
+ static inline const_iterator begin (std::string const &key)
         {
                 return key.begin();
         }
         
- static inline const_iterator &end (std::string &key)
+ static inline const_iterator end (std::string const &key)
         {
                 return key.end();
         }


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