Changeset 10733 for code/branches/cpp11_v2/src/libraries
- Timestamp:
- Oct 31, 2015, 6:11:53 PM (9 years ago)
- Location:
- code/branches/cpp11_v2
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2
- Property svn:mergeinfo changed
/code/branches/cpp11 (added) merged: 10439-10441,10443,10545
- Property svn:mergeinfo changed
-
code/branches/cpp11_v2/src/libraries/core/config/ConfigFile.cc
r10624 r10733 35 35 36 36 #include <boost/filesystem.hpp> 37 38 #include <iterator> 39 #include <algorithm> 37 40 38 41 #include "util/Convert.h" … … 93 96 try 94 97 { 95 boost::filesystem::copy_file(defaultFilepath, filepath); 98 std::ifstream input(defaultFilepath.string().c_str(), std::ifstream::in | std::ifstream::binary); 99 std::ofstream output(filepath.string().c_str(), std::ofstream::out | std::ofstream::binary); 100 copy(std::istreambuf_iterator<char>(input), std::istreambuf_iterator<char>(), std::ostream_iterator<char>(output)); 96 101 orxout(internal_info, context::config) << "Copied " << this->filename_ << " from the default config folder." << endl; 97 102 } -
code/branches/cpp11_v2/src/libraries/core/object/ObjectListBase.h
r9667 r10733 93 93 } 94 94 95 operator T*() 96 { 97 return object_; 98 } 99 95 100 T* object_; //!< The object 96 101 }; -
code/branches/cpp11_v2/src/libraries/tools/BulletDebugDrawer.h
r10277 r10733 13 13 #include <btBulletCollisionCommon.h> 14 14 #include <OgreFrameListener.h> 15 #include <OgreVector3.h> 16 #include <OgreColourValue.h> 15 17 16 18 namespace orxonox -
code/branches/cpp11_v2/src/libraries/tools/OgreBulletUtils.h
r10262 r10733 10 10 11 11 #include "tools/ToolsPrereqs.h" 12 #include <OgreVector3.h> 13 #include <OgreQuaternion.h> 14 #include <OgreColourValue.h> 15 #include <OgreMatrix3.h> 16 #include <OgreMatrix4.h> 12 17 13 18 namespace orxonox … … 42 47 inline Ogre::Matrix3 matrix3(const btMatrix3x3& matrix) 43 48 { 44 return Matrix3(49 return Ogre::Matrix3( 45 50 matrix[0][0], matrix[0][1], matrix[0][2], 46 51 matrix[1][0], matrix[1][1], matrix[1][2], -
code/branches/cpp11_v2/src/libraries/util/SmallObjectAllocator.h
r7401 r10733 77 77 #include "UtilPrereqs.h" 78 78 #include <vector> 79 #include <cstdio> 79 80 80 81 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.