Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.cpp @ 2836:7133ad478eea
fix Debian warnings
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 20 Sep 2018 16:17:46 +0200 |
parents | 3ee82c7313e7 |
children | 6eebc2eb3168 |
comparison
equal
deleted
inserted
replaced
2831:b51233f03e7e | 2836:7133ad478eea |
---|---|
1051 | 1051 |
1052 try | 1052 try |
1053 { | 1053 { |
1054 boost::filesystem::create_directories(indexDirectory); | 1054 boost::filesystem::create_directories(indexDirectory); |
1055 } | 1055 } |
1056 catch (boost::filesystem::filesystem_error) | 1056 catch (boost::filesystem::filesystem_error&) |
1057 { | 1057 { |
1058 } | 1058 } |
1059 | 1059 |
1060 return new DatabaseWrapper(indexDirectory.string() + "/index"); | 1060 return new DatabaseWrapper(indexDirectory.string() + "/index"); |
1061 } | 1061 } |