Don't always create DCP directories in the constructor.
authorCarl Hetherington <cth@carlh.net>
Tue, 8 Jul 2014 21:39:59 +0000 (22:39 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 8 Jul 2014 21:39:59 +0000 (22:39 +0100)
src/dcp.cc

index 96798751ab3641da6511ab1015494797d126e40c..c39694a92a67c452a2ee8775ac641e915950bc9b 100644 (file)
@@ -63,7 +63,6 @@ using namespace dcp;
 DCP::DCP (boost::filesystem::path directory)
        : _directory (directory)
 {
-       boost::filesystem::create_directories (directory);
        _directory = boost::filesystem::canonical (_directory);
 }