telemetry_session: Make translate function static

Addresses review feedback

Co-authored-by: Lioncash <mathew1800@gmail.com>
This commit is contained in:
lat9nq 2023-04-30 19:03:37 -04:00
parent 29a56496bf
commit 40f062f749

View file

@ -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";