summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-21 14:36:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-21 14:36:01 +0100
commit93dce7329002f3ee19856ac55549c60732766efc (patch)
tree2ef55c0481ec7df1139a6f36a2e4e0b70d93c163 /avmedia
parent282fce96b24d0b918a302811891b7d584954a7bc (diff)
No apparent reason for an unnamed namespace in an include file here
Change-Id: I5e9910d3b5ca070e34e7621a2d3009e5c6fc0586
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/vlc/wrapper/SymbolLoader.hxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/avmedia/source/vlc/wrapper/SymbolLoader.hxx b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
index eb71926dfb1d..b26afe376615 100644
--- a/avmedia/source/vlc/wrapper/SymbolLoader.hxx
+++ b/avmedia/source/vlc/wrapper/SymbolLoader.hxx
@@ -33,8 +33,6 @@ struct ApiMap
SymbolFunc *refValue;
};
-namespace
-{
#if defined( LINUX )
const char LibName[] = "libvlc.so.5";
#elif defined( MACOSX )
@@ -42,7 +40,7 @@ namespace
#elif defined( WNT )
const char LibName[] = "libvlc.dll";
- OUString GetVLCPath()
+ inline OUString GetVLCPath()
{
HKEY hKey;
wchar_t arCurrent[MAX_PATH];
@@ -88,7 +86,6 @@ namespace
return true;
}
-}
template<size_t N>
bool InitApiMap( const ApiMap ( &pMap )[N] )