UI: Use inline const for shared vector

Issue detected by PVS Studio.
This commit is contained in:
Richard Stanway
2021-08-23 00:21:33 +02:00
committed by Jim
parent 64f3b29e02
commit f131c0c36b

View File

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