Skip to content
Snippets Groups Projects
Commit 94c520f1 authored by an7s's avatar an7s
Browse files

Fix compilation errors

Former-commit-id: 3513548d12c1dfcda3ca8d346e967e1bb4f4b337
parent 5435ee07
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ static uintptr_t getSymbolAddress(const string &symbolFilename, const string &sy
bool fexists(const string &filename)
{
ifstream ifile(filename.c_str());
return ifile;
return ifile.is_open();
}
......
......@@ -31,7 +31,7 @@ using namespace std;
bool fexists(string filename)
{
ifstream ifile(filename.c_str());
return ifile;
return ifile.is_open();
}
void usage()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment