From 607356a844a80e1b6cbdcf1f939682f5fa50f6cb Mon Sep 17 00:00:00 2001 From: aramis_acg Date: Mon, 12 Jan 2009 22:26:11 +0000 Subject: [PATCH] Added empty end lines to all workaround files. git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@293 67173fc5-114c-0410-ac8e-9d2fd5bffc1f --- .../boost/common_factor_rt.hpp | 2 +- include/BoostWorkaround/boost/foreach.hpp | 2 +- include/BoostWorkaround/boost/format.hpp | 5 ++-- .../boost/random/mersenne_twister.hpp | 2 +- .../boost/random/uniform_int.hpp | 2 +- .../boost/random/variate_generator.hpp | 2 +- .../BoostWorkaround/boost/scoped_array.hpp | 23 ++++++++++--------- include/BoostWorkaround/boost/scoped_ptr.hpp | 23 ++++++++++--------- include/BoostWorkaround/boost/tuple/tuple.hpp | 2 +- 9 files changed, 33 insertions(+), 30 deletions(-) diff --git a/include/BoostWorkaround/boost/common_factor_rt.hpp b/include/BoostWorkaround/boost/common_factor_rt.hpp index beab39e19..46a70a298 100644 --- a/include/BoostWorkaround/boost/common_factor_rt.hpp +++ b/include/BoostWorkaround/boost/common_factor_rt.hpp @@ -34,4 +34,4 @@ IntegerType lcm( IntegerType a, IntegerType b ) }} -#endif \ No newline at end of file +#endif diff --git a/include/BoostWorkaround/boost/foreach.hpp b/include/BoostWorkaround/boost/foreach.hpp index 24123dd4f..205e888f5 100644 --- a/include/BoostWorkaround/boost/foreach.hpp +++ b/include/BoostWorkaround/boost/foreach.hpp @@ -90,4 +90,4 @@ typename T::reference deref(auto_any_base const& cur, T&) } // end boost -#endif \ No newline at end of file +#endif diff --git a/include/BoostWorkaround/boost/format.hpp b/include/BoostWorkaround/boost/format.hpp index 9d7ff637d..6e65d8fc3 100644 --- a/include/BoostWorkaround/boost/format.hpp +++ b/include/BoostWorkaround/boost/format.hpp @@ -43,5 +43,6 @@ namespace boost #else # error "format.h was already included" -#endif // -#endif // !! AI_BOOST_FORMAT_DUMMY_INCLUDED \ No newline at end of file +#endif // +#endif // !! AI_BOOST_FORMAT_DUMMY_INCLUDED + diff --git a/include/BoostWorkaround/boost/random/mersenne_twister.hpp b/include/BoostWorkaround/boost/random/mersenne_twister.hpp index a6e8035c7..0d58e86e1 100644 --- a/include/BoostWorkaround/boost/random/mersenne_twister.hpp +++ b/include/BoostWorkaround/boost/random/mersenne_twister.hpp @@ -23,4 +23,4 @@ namespace boost }; }; -#endif \ No newline at end of file +#endif diff --git a/include/BoostWorkaround/boost/random/uniform_int.hpp b/include/BoostWorkaround/boost/random/uniform_int.hpp index 052932e49..6632a4cf0 100644 --- a/include/BoostWorkaround/boost/random/uniform_int.hpp +++ b/include/BoostWorkaround/boost/random/uniform_int.hpp @@ -27,4 +27,4 @@ namespace boost }; }; -#endif // BOOST_UNIFORM_INT_INCLUDED \ No newline at end of file +#endif // BOOST_UNIFORM_INT_INCLUDED diff --git a/include/BoostWorkaround/boost/random/variate_generator.hpp b/include/BoostWorkaround/boost/random/variate_generator.hpp index 85b15dd5e..e0bda8997 100644 --- a/include/BoostWorkaround/boost/random/variate_generator.hpp +++ b/include/BoostWorkaround/boost/random/variate_generator.hpp @@ -28,4 +28,4 @@ private: }; } // end namespace boost -#endif \ No newline at end of file +#endif diff --git a/include/BoostWorkaround/boost/scoped_array.hpp b/include/BoostWorkaround/boost/scoped_array.hpp index fe17ce162..2274c7d2f 100644 --- a/include/BoostWorkaround/boost/scoped_array.hpp +++ b/include/BoostWorkaround/boost/scoped_array.hpp @@ -14,7 +14,7 @@ class scoped_array { public: - // provide a default construtctor + // provide a default construtctor scoped_array() : ptr(0) { @@ -25,25 +25,25 @@ public: : ptr(_ptr) { } - - // automatic destruction of the wrapped object at the + + // automatic destruction of the wrapped object at the // end of our lifetime ~scoped_array() { delete[] ptr; } - + inline T* get() { return ptr; } - + inline operator T*() { return ptr; } - - inline T* operator-> () + + inline T* operator-> () { return ptr; } @@ -63,15 +63,15 @@ public: { std::swap(ptr, b.ptr); } - + private: - + // encapsulated object pointer T* ptr; }; -template +template inline void swap(scoped_array & a, scoped_array & b) { a.swap(b); @@ -82,4 +82,5 @@ inline void swap(scoped_array & a, scoped_array & b) #else # error "scoped_array.h was already included" #endif -#endif // __AI_BOOST_SCOPED_ARRAY_INCLUDED \ No newline at end of file +#endif // __AI_BOOST_SCOPED_ARRAY_INCLUDED + diff --git a/include/BoostWorkaround/boost/scoped_ptr.hpp b/include/BoostWorkaround/boost/scoped_ptr.hpp index 09a183899..8b1604bbb 100644 --- a/include/BoostWorkaround/boost/scoped_ptr.hpp +++ b/include/BoostWorkaround/boost/scoped_ptr.hpp @@ -14,7 +14,7 @@ class scoped_ptr { public: - // provide a default construtctor + // provide a default construtctor scoped_ptr() : ptr(0) { @@ -25,25 +25,25 @@ public: : ptr(_ptr) { } - - // automatic destruction of the wrapped object at the + + // automatic destruction of the wrapped object at the // end of our lifetime ~scoped_ptr() { delete ptr; } - + inline T* get() { return ptr; } - + inline operator T*() { return ptr; } - - inline T* operator-> () + + inline T* operator-> () { return ptr; } @@ -58,15 +58,15 @@ public: { std::swap(ptr, b.ptr); } - + private: - + // encapsulated object pointer T* ptr; }; -template +template inline void swap(scoped_ptr & a, scoped_ptr & b) { a.swap(b); @@ -77,4 +77,5 @@ inline void swap(scoped_ptr & a, scoped_ptr & b) #else # error "scoped_ptr.h was already included" #endif -#endif // __AI_BOOST_SCOPED_PTR_INCLUDED \ No newline at end of file +#endif // __AI_BOOST_SCOPED_PTR_INCLUDED + diff --git a/include/BoostWorkaround/boost/tuple/tuple.hpp b/include/BoostWorkaround/boost/tuple/tuple.hpp index 0e26fd91e..d59b5ce59 100644 --- a/include/BoostWorkaround/boost/tuple/tuple.hpp +++ b/include/BoostWorkaround/boost/tuple/tuple.hpp @@ -277,4 +277,4 @@ namespace boost { } }; -#endif // !! BOOST_TUPLE_INCLUDED \ No newline at end of file +#endif // !! BOOST_TUPLE_INCLUDED