We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e057249 commit 12b3271Copy full SHA for 12b3271
include/villas/nodes/opal_orchestra/error.hpp
@@ -24,11 +24,9 @@ class RTError : public RuntimeError {
24
25
public:
26
template <typename... Args>
27
- RTError(RTAPIReturn_t rc, const std::string &what = std::string(),
28
- Args &&...args)
29
- : RuntimeError(fmt::format("{}: {}",
30
- fmt::format(what, std::forward<Args>(args)...),
31
- RTGetErrorMessage(rc))),
+ RTError(RTAPIReturn_t rc, fmt::format_string<Args...> fmt, Args &&...args)
+ : RuntimeError("{}: {}", fmt::format(fmt, std::forward<Args>(args)...),
+ RTGetErrorMessage(rc)),
32
returnCode(rc) {}
33
34
RTAPIReturn_t returnCode;
0 commit comments