[Orxonox-commit 1186] r5907 - code/branches/core5/src/libraries/core

rgrieder at orxonox.net rgrieder at orxonox.net
Thu Oct 8 19:26:06 CEST 2009


Author: rgrieder
Date: 2009-10-08 19:26:06 +0200 (Thu, 08 Oct 2009)
New Revision: 5907

Modified:
   code/branches/core5/src/libraries/core/MemoryArchive.cc
Log:
Fixed boost < 1.36 build.

Modified: code/branches/core5/src/libraries/core/MemoryArchive.cc
===================================================================
--- code/branches/core5/src/libraries/core/MemoryArchive.cc	2009-10-08 15:29:27 UTC (rev 5906)
+++ code/branches/core5/src/libraries/core/MemoryArchive.cc	2009-10-08 17:26:06 UTC (rev 5907)
@@ -67,7 +67,7 @@
             if (!StringUtil::match(file.string(), pattern, true))
                 continue;
             if (bDirs)
-                file = file.parent_path();
+                file = file.branch_path();
             if (file.empty())
                 continue;
             if (file.has_parent_path() && !bRecursive)
@@ -80,7 +80,7 @@
                 fi.archive = this;
                 fi.filename = file.string();
                 fi.basename = file.filename();
-                fi.path = file.parent_path().string();
+                fi.path = file.branch_path().string();
                 fi.compressedSize = it->second.second;
                 fi.uncompressedSize = it->second.second;
                 detailList->push_back(fi);




More information about the Orxonox-commit mailing list