Browse Source

UI: Use inline const for shared vector

Issue detected by PVS Studio.
Richard Stanway 4 years ago
parent
commit
f131c0c36b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UI/auth-youtube.hpp

+ 1 - 1
UI/auth-youtube.hpp

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