Skip to content

Commit

Permalink
Use ostream operators
Browse files Browse the repository at this point in the history
  • Loading branch information
pwojcikdev committed Jan 21, 2023
1 parent 5eb0c59 commit 5805a54
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nano/test_common/rate_observer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include <sstream>

using namespace magic_enum::ostream_operators;

/*
* rate_observer::counter
*/
Expand Down Expand Up @@ -47,7 +49,7 @@ uint64_t nano::test::rate_observer::stat_counter::count ()
std::string nano::test::rate_observer::stat_counter::name ()
{
std::stringstream ss;
ss << nano::to_string (type) << "::" << nano::to_string (detail) << "::" << nano::to_string (dir);
ss << type << "::" << detail << "::" << dir;
return ss.str ();
}

Expand Down

0 comments on commit 5805a54

Please # to comment.