summaryrefslogtreecommitdiff
path: root/src/lib/file_group.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/file_group.cc')
-rw-r--r--src/lib/file_group.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/file_group.cc b/src/lib/file_group.cc
index 9c2065141..dfe336b8f 100644
--- a/src/lib/file_group.cc
+++ b/src/lib/file_group.cc
@@ -21,6 +21,7 @@
#include <sndfile.h>
#include "file_group.h"
#include "exceptions.h"
+#include "cross.h"
using std::vector;
using std::cout;
@@ -78,7 +79,7 @@ FileGroup::ensure_open_path (size_t p) const
}
_current_path = p;
- _current_file = fopen (_paths[_current_path].string().c_str(), "rb");
+ _current_file = fopen_boost (_paths[_current_path], "rb");
if (_current_file == 0) {
throw OpenFileError (_paths[_current_path]);
}