mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
InputCommon: Make use of fmt where applicable
Continues the migration over to fmt
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user