UI: Use inline const for shared vector
Issue detected by PVS Studio.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "auth-oauth.hpp"
|
||||
|
||||
const std::vector<Auth::Def> youtubeServices = {
|
||||
inline const std::vector<Auth::Def> youtubeServices = {
|
||||
{"YouTube - RTMP", Auth::Type::OAuth_LinkedAccount, true},
|
||||
{"YouTube - RTMPS", Auth::Type::OAuth_LinkedAccount, true},
|
||||
{"YouTube - HLS", Auth::Type::OAuth_LinkedAccount, true}};
|
||||
|
Reference in New Issue
Block a user