Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64931 - trunk/boost
From: andrey.semashev_at_[hidden]
Date: 2010-08-19 16:03:00


Author: andysem
Date: 2010-08-19 16:02:59 EDT (Thu, 19 Aug 2010)
New Revision: 64931
URL: http://svn.boost.org/trac/boost/changeset/64931

Log:
Worked around annoying "deprecated" warnings on MSVC.
Text files modified:
   trunk/boost/token_functions.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/token_functions.hpp
==============================================================================
--- trunk/boost/token_functions.hpp (original)
+++ trunk/boost/token_functions.hpp 2010-08-19 16:02:59 EDT (Thu, 19 Aug 2010)
@@ -418,7 +418,7 @@
   class char_separator
   {
     typedef tokenizer_detail::traits_extension<Tr> Traits;
- typedef std::basic_string<Char,Traits> string_type;
+ typedef std::basic_string<Char,Tr> string_type;
   public:
     explicit
     char_separator(const Char* dropped_delims,
@@ -561,7 +561,7 @@
   private:
 
     typedef tokenizer_detail::traits_extension<Tr> Traits;
- typedef std::basic_string<Char,Traits> string_type;
+ typedef std::basic_string<Char,Tr> string_type;
     string_type returnable_;
     string_type nonreturnable_;
     bool return_delims_;


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