Add a namespace to OpenFStream
For consistency with the other functions in FileUtil.h.
This commit is contained in:
1 parent
f09ceaa735
commit
cf94ce6305
15 files changed
+24
-24
No files matched your search
@@ -18,7 +18,7 @@ bool CSVSignatureDB::Load(const std::string& file_path)
|
||||
{
|
||||
std::string line;
|
||||
std::ifstream ifs;
|
||||
OpenFStream(ifs, file_path, std::ios_base::in);
|
||||
File::OpenFStream(ifs, file_path, std::ios_base::in);
|
||||
|
||||
if (!ifs)
|
||||
return false;
|
||||
|
||||
@@ -128,7 +128,7 @@ void MEGASignatureDB::Clear()
|
||||
bool MEGASignatureDB::Load(const std::string& file_path)
|
||||
{
|
||||
std::ifstream ifs;
|
||||
OpenFStream(ifs, file_path, std::ios_base::in);
|
||||
File::OpenFStream(ifs, file_path, std::ios_base::in);
|
||||
|
||||
if (!ifs)
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user