Bladeren bron

UI: Fix "unreferenced local function" warning

Fixes the following warning:

warning C4505: 'operator ==' : unreferenced local function has been
removed

This function actually is used despite this warning, so the only way to
get rid of the warning is to disable the warning itself in this
particular case.
jp9000 10 jaren geleden
bovenliggende
commit
24d217f799
1 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  1. 4 0
      obs/properties-view.moc.hpp

+ 4 - 0
obs/properties-view.moc.hpp

@@ -10,6 +10,10 @@
 
 #include <vector>
 
+#ifdef _MSC_VER
+#pragma warning(disable : 4505)
+#endif
+
 static bool operator!=(const media_frames_per_second &a,
 		const media_frames_per_second &b)
 {