summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/film.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 3620cdff7..5493f6306 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -714,7 +714,7 @@ Film::content_type () const
#if BOOST_FILESYSTEM_VERSION == 3
string ext = boost::filesystem::path(_content).extension().string();
#else
- string ext = filesystem::path(_content).extension();
+ string ext = boost::filesystem::path(_content).extension();
#endif
transform (ext.begin(), ext.end(), ext.begin(), ::tolower);