telemetry_session: Make translate function static
Addresses review feedback Co-authored-by: Lioncash <mathew1800@gmail.com>
This commit is contained in:
parent
29a56496bf
commit
40f062f749
|
@ -85,7 +85,7 @@ static const char* TranslateNvdecEmulation(Settings::NvdecEmulation backend) {
|
||||||
return "Unknown";
|
return "Unknown";
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr const char* TranslateVSyncMode(Settings::VSyncMode mode) {
|
static constexpr const char* TranslateVSyncMode(Settings::VSyncMode mode) {
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case Settings::VSyncMode::Immediate:
|
case Settings::VSyncMode::Immediate:
|
||||||
return "Immediate";
|
return "Immediate";
|
||||||
|
|
Reference in New Issue