浏览代码

this is probably C-style but I prefer it over vague anonymous namespaces, don't kill me please

jp9000 12 年之前
父节点
当前提交
7e4355bbfb
共有 1 个文件被更改,包括 2 次插入5 次删除
  1. 2 5
      obs/settings-basic-video.cpp

+ 2 - 5
obs/settings-basic-video.cpp

@@ -128,12 +128,9 @@ void BasicVideoData::LoadOther()
 	window->rendererList->SetSelection(sel);
 }
 
-namespace
+static uint64_t append_uint32_t(uint64_t first, uint64_t second)
 {
-	uint64_t append_uint32_t(uint64_t first, uint64_t second)
-	{
-		return (first << 32) | second;
-	}
+	return (first << 32) | second;
 }
 
 void BasicVideoData::LoadResolutionData()