diff options
| author | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:35:17 (GMT) | 
|---|---|---|
| committer | Remko Tronçon <git@el-tramo.be> | 2011-03-14 18:35:17 (GMT) | 
| commit | a135c6ff4dcded5661a2321512960b14cf8c15c8 (patch) | |
| tree | b0017ecfe702304f592b9d4e8b943784cff26fb2 /3rdParty/Boost/src/boost/filesystem/v2/path.hpp | |
| parent | 02d6188ab335e6c62b8341b84579d9549d215118 (diff) | |
| download | swift-contrib-a135c6ff4dcded5661a2321512960b14cf8c15c8.zip swift-contrib-a135c6ff4dcded5661a2321512960b14cf8c15c8.tar.bz2  | |
Updated Boost to 1.46.1.
This should hopefuily fix a hang on shutdown on Mac OS X.
Resolves: #782
Release-Notes: Fixed a potential hang on shutdown on Mac OS X.
Diffstat (limited to '3rdParty/Boost/src/boost/filesystem/v2/path.hpp')
| -rw-r--r-- | 3rdParty/Boost/src/boost/filesystem/v2/path.hpp | 9 | 
1 files changed, 4 insertions, 5 deletions
diff --git a/3rdParty/Boost/src/boost/filesystem/v2/path.hpp b/3rdParty/Boost/src/boost/filesystem/v2/path.hpp index 16d67ca..615b89c 100644 --- a/3rdParty/Boost/src/boost/filesystem/v2/path.hpp +++ b/3rdParty/Boost/src/boost/filesystem/v2/path.hpp @@ -20,16 +20,15 @@  #include <boost/filesystem/v2/config.hpp>  #include <boost/system/system_error.hpp>  #include <boost/iterator/iterator_facade.hpp> -#include <boost/throw_exception.hpp>  #include <boost/shared_ptr.hpp>  #include <boost/type_traits/is_same.hpp>  #include <boost/static_assert.hpp> +#include <boost/assert.hpp>  #include <string>  #include <algorithm> // for lexicographical_compare  #include <iosfwd>    // needed by basic_path inserter and extractor  #include <stdexcept> -#include <cassert>  # ifndef BOOST_FILESYSTEM2_NARROW_ONLY  #   include <locale> @@ -916,7 +915,7 @@ namespace boost            boost::BOOST_FILESYSTEM2_NAMESPACE::basic_path<String, Traits>              path_type; -        assert( !str.empty() && str[pos] == slash<path_type>::value +        BOOST_ASSERT( !str.empty() && str[pos] == slash<path_type>::value            && "precondition violation" );          // subsequent logic expects pos to be for leftmost slash of a set @@ -1380,7 +1379,7 @@ namespace boost          typedef typename Path::string_type string_type;          typedef typename Path::traits_type traits_type; -        assert( itr.m_pos < itr.m_path_ptr->m_path.size() && "basic_path::iterator increment past end()" ); +        BOOST_ASSERT( itr.m_pos < itr.m_path_ptr->m_path.size() && "basic_path::iterator increment past end()" );          bool was_net( itr.m_name.size() > 2            && itr.m_name[0] == slash<Path>::value @@ -1439,7 +1438,7 @@ namespace boost        template<class Path>        void iterator_helper<Path>::do_decrement( iterator & itr )        {                                                                                 -        assert( itr.m_pos && "basic_path::iterator decrement past begin()"  ); +        BOOST_ASSERT( itr.m_pos && "basic_path::iterator decrement past begin()"  );          typedef typename Path::string_type string_type;          typedef typename Path::traits_type traits_type;  | 
 Swift