diff options
Diffstat (limited to 'src/3rdparty/assimp/code/BoostWorkaround/boost/lexical_cast.hpp')
-rw-r--r-- | src/3rdparty/assimp/code/BoostWorkaround/boost/lexical_cast.hpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/3rdparty/assimp/code/BoostWorkaround/boost/lexical_cast.hpp b/src/3rdparty/assimp/code/BoostWorkaround/boost/lexical_cast.hpp deleted file mode 100644 index af91b011f..000000000 --- a/src/3rdparty/assimp/code/BoostWorkaround/boost/lexical_cast.hpp +++ /dev/null @@ -1,26 +0,0 @@ -/// A quick replacement for boost::lexical_cast for all the Boost haters out there - -#ifndef __AI_BOOST_WORKAROUND_LEXICAL_CAST -#define __AI_BOOST_WORKAROUND_LEXICAL_CAST - -#include <sstream> - -namespace boost -{ - - /// A quick replacement for boost::lexical_cast - should work for all types a stringstream can handle - template <typename TargetType, typename SourceType> - TargetType lexical_cast( const SourceType& source) - { - std::stringstream stream; - TargetType result; - - stream << source; - stream >> result; - return result; - } - -} // namespace boost - -#endif // __AI_BOOST_WORKAROUND_LEXICAL_CAST - |