Commit 183dc4bc authored by Davis King's avatar Davis King

Made logger constructor take a std::string instead of char*

parent 4b289437
...@@ -432,7 +432,7 @@ namespace dlib ...@@ -432,7 +432,7 @@ namespace dlib
logger:: logger::
logger ( logger (
const char* name_ const std::string& name_
) : ) :
gd(get_global_data()), gd(get_global_data()),
logger_name(name_), logger_name(name_),
......
...@@ -227,7 +227,7 @@ namespace dlib ...@@ -227,7 +227,7 @@ namespace dlib
const uint64, const char*> hook_mfp; const uint64, const char*> hook_mfp;
logger ( logger (
const char* name_ const std::string& name_
); );
virtual ~logger ( virtual ~logger (
......
...@@ -211,7 +211,7 @@ namespace dlib ...@@ -211,7 +211,7 @@ namespace dlib
public: public:
logger ( logger (
const char* name_ const std::string& name_
); );
/*! /*!
requires requires
......
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