Files
BloomPatched/src/Targets/TargetPinDescriptor.cpp

16 lines
381 B
C++
Raw Normal View History

#include "TargetPinDescriptor.hpp"
#include "src/Services/StringService.hpp"
namespace Targets
{
TargetPinDescriptor::TargetPinDescriptor(
const std::string& position,
const std::optional<std::string>& padKey
)
: position(position)
, numericPosition(Services::StringService::toUint16(this->position, 10))
, padKey(padKey)
{}
}