summaryrefslogtreecommitdiff
path: root/src/search.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/search.cc')
-rw-r--r--src/search.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/search.cc b/src/search.cc
index f45a2fb9..e7871dc6 100644
--- a/src/search.cc
+++ b/src/search.cc
@@ -35,6 +35,7 @@
#include "dcp.h"
#include "decrypted_kdm.h"
#include "exceptions.h"
+#include "filesystem.h"
#include "search.h"
@@ -59,7 +60,7 @@ dcp::find_and_resolve_cpls (vector<boost::filesystem::path> const& directories,
vector<shared_ptr<dcp::DCP>> dcps;
for (auto i: directories) {
- if (!boost::filesystem::exists(i)) {
+ if (!filesystem::exists(i)) {
/* Don't make a DCP object or it will try to create the parent directories
* of i if they do not exist (#2344).
*/