aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/ProfilingService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/ProfilingService.cpp')
-rw-r--r--src/profiling/ProfilingService.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/profiling/ProfilingService.cpp b/src/profiling/ProfilingService.cpp
index 3521fc0884..6fe52f845e 100644
--- a/src/profiling/ProfilingService.cpp
+++ b/src/profiling/ProfilingService.cpp
@@ -11,7 +11,7 @@
#include <common/include/SocketConnectionException.hpp>
-#include <boost/format.hpp>
+#include <fmt/format.h>
namespace armnn
{
@@ -183,8 +183,8 @@ void ProfilingService::Update()
break;
default:
- throw RuntimeException(boost::str(boost::format("Unknown profiling service state: %1")
- % static_cast<int>(currentState)));
+ throw RuntimeException(fmt::format("Unknown profiling service state: {}",
+ static_cast<int>(currentState)));
}
}
@@ -203,8 +203,8 @@ void ProfilingService::Disconnect()
break;
default:
- throw RuntimeException(boost::str(boost::format("Unknown profiling service state: %1")
- % static_cast<int>(currentState)));
+ throw RuntimeException(fmt::format("Unknown profiling service state: {}",
+ static_cast<int>(currentState)));
}
}
@@ -486,7 +486,7 @@ inline void ProfilingService::CheckCounterUid(uint16_t counterUid) const
{
if (!IsCounterRegistered(counterUid))
{
- throw InvalidArgumentException(boost::str(boost::format("Counter UID %1% is not registered") % counterUid));
+ throw InvalidArgumentException(fmt::format("Counter UID {} is not registered", counterUid));
}
}