summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-11-22 14:10:28 -0500
committerLioncash <mathew1800@gmail.com>2019-11-22 14:38:26 -0500
commite8edc49bbec053e3ee08f6ffc8be39935c6fa6d1 (patch)
treef355306567ea56c2d96819ad1fa01165620d9898 /Source/Core/InputCommon/ControllerInterface/Device.cpp
parentbc449fb98f3b741f78d8881e2c02d588829aad74 (diff)
InputCommon: Make use of fmt where applicable
Continues the migration over to fmt
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Device.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.cpp b/Source/Core/InputCommon/ControllerInterface/Device.cpp
index 5b0fa7ebd1..d91a9e119e 100644
--- a/Source/Core/InputCommon/ControllerInterface/Device.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/Device.cpp
@@ -11,7 +11,8 @@
#include <string>
#include <tuple>
-#include "Common/StringUtil.h"
+#include <fmt/format.h>
+
#include "Common/Thread.h"
namespace ciface::Core
@@ -47,7 +48,7 @@ void Device::AddOutput(Device::Output* const o)
std::string Device::GetQualifiedName() const
{
- return StringFromFormat("%s/%i/%s", this->GetSource().c_str(), GetId(), this->GetName().c_str());
+ return fmt::format("{}/{}/{}", GetSource(), GetId(), GetName());
}
Device::Input* Device::FindInput(std::string_view name) const