Commit d52a4e50 authored by Max Lyon's avatar Max Lyon

remove nullptr

parent fd46e861
...@@ -15,7 +15,7 @@ std::string make_filename(const char* _prfx, const char* _flnm, ...@@ -15,7 +15,7 @@ std::string make_filename(const char* _prfx, const char* _flnm,
std::stringstream sstr_flnm; std::stringstream sstr_flnm;
sstr_flnm << std::setfill('0') << std::setw(4) << cnt++; sstr_flnm << std::setfill('0') << std::setw(4) << cnt++;
sstr_flnm << SEP << _prfx << SEP << _flnm; sstr_flnm << SEP << _prfx << SEP << _flnm;
if (_sfx != nullptr) if (_sfx != NULL)
sstr_flnm << SEP << _sfx; sstr_flnm << SEP << _sfx;
sstr_flnm << '.' << _ext; sstr_flnm << '.' << _ext;
......
...@@ -21,7 +21,7 @@ namespace Debug { ...@@ -21,7 +21,7 @@ namespace Debug {
// count is a number that increase any time the function is called, // count is a number that increase any time the function is called,
// it is expressed with 4 decimal digits filled with zeros. // it is expressed with 4 decimal digits filled with zeros.
std::string make_filename(const char* _prfx, const char* _flnm, std::string make_filename(const char* _prfx, const char* _flnm,
const char* _ext, const char* _sfx = nullptr); const char* _ext, const char* _sfx = NULL);
std::string set_filename_extension(const char* _flnm, const char* _ext); std::string set_filename_extension(const char* _flnm, const char* _ext);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment