examples: Fix formatting
This commit is contained in:
@@ -79,8 +79,8 @@ static std::map<uint32_t, uint32_t> ssThreshValue; //!< SlowSta
|
||||
static uint32_t
|
||||
GetNodeIdFromContext(std::string context)
|
||||
{
|
||||
std::size_t const n1 = context.find_first_of('/', 1);
|
||||
std::size_t const n2 = context.find_first_of('/', n1 + 1);
|
||||
const std::size_t n1 = context.find_first_of('/', 1);
|
||||
const std::size_t n2 = context.find_first_of('/', n1 + 1);
|
||||
return std::stoul(context.substr(n1 + 1, n2 - n1 - 1));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user