fix: remove unused include / add const for necessity portion

This commit is contained in:
Tomonobu Saito
2019-11-08 16:15:38 +09:00
parent fd0f1b60bb
commit ee177efe41
2 changed files with 1 additions and 3 deletions
-2
View File
@@ -15,9 +15,7 @@
#include <storage/io.hpp> #include <storage/io.hpp>
#include <iostream>
#include <iterator> #include <iterator>
#include <list>
#include <string> #include <string>
#include <unordered_map> #include <unordered_map>
using namespace std; using namespace std;
+1 -1
View File
@@ -68,7 +68,7 @@ class FileReader
((fingerprint == FingerprintFlag::VerifyFingerprint) ? sizeof(util::FingerPrint) ((fingerprint == FingerprintFlag::VerifyFingerprint) ? sizeof(util::FingerPrint)
: 0); : 0);
} }
catch (boost::filesystem::filesystem_error &ex) catch (const boost::filesystem::filesystem_error &ex)
{ {
std::cout << ex.what() << std::endl; std::cout << ex.what() << std::endl;
throw; throw;