summaryrefslogtreecommitdiff
path: root/src/asset_map.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/asset_map.cc')
-rw-r--r--src/asset_map.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asset_map.cc b/src/asset_map.cc
index 4fda0a89..8fcc515f 100644
--- a/src/asset_map.cc
+++ b/src/asset_map.cc
@@ -21,6 +21,7 @@
* @brief Classes used to parse a AssetMap.
*/
+#include <boost/algorithm/string.hpp>
#include "asset_map.h"
#include "util.h"
@@ -55,7 +56,7 @@ Chunk::Chunk (xmlpp::Node const * node)
string const prefix = "file://";
- if (starts_with (path, prefix)) {
+ if (boost::algorithm::starts_with (path, prefix)) {
path = path.substr (prefix.length());
}