Преглед на файлове

Fixing invalid include path

BearishSun преди 9 години
родител
ревизия
d082834079
променени са 2 файла, в които са добавени 15 реда и са изтрити 15 реда
  1. 1 1
      Source/BansheeCore/Source/BsPixelUtil.cpp
  2. 14 14
      Source/BansheeUtility/Include/BsPath.h

+ 1 - 1
Source/BansheeCore/Source/BsPixelUtil.cpp

@@ -5,7 +5,7 @@
 #include "BsColor.h"
 #include "BsMath.h"
 #include "BsException.h"
-#include <nvtt/nvtt.h>
+#include <nvtt.h>
 
 namespace BansheeEngine 
 {

+ 14 - 14
Source/BansheeUtility/Include/BsPath.h

@@ -630,23 +630,23 @@ namespace BansheeEngine
 
 namespace std
 {
-/** Hash value generator for Path. */
-template<>
-struct hash<BansheeEngine::Path>
-{
-	size_t operator()(const BansheeEngine::Path& path) const
+	/** Hash value generator for Path. */
+	template<>
+	struct hash<BansheeEngine::Path>
 	{
-		size_t hash = 0;
-		BansheeEngine::hash_combine(hash, path.mFilename);
-		BansheeEngine::hash_combine(hash, path.mDevice);
-		BansheeEngine::hash_combine(hash, path.mNode);
+		size_t operator()(const BansheeEngine::Path& path) const
+		{
+			size_t hash = 0;
+			BansheeEngine::hash_combine(hash, path.mFilename);
+			BansheeEngine::hash_combine(hash, path.mDevice);
+			BansheeEngine::hash_combine(hash, path.mNode);
 
-		for (auto& dir : path.mDirectories)
-			BansheeEngine::hash_combine(hash, dir);
+			for (auto& dir : path.mDirectories)
+				BansheeEngine::hash_combine(hash, dir);
 
-		return hash;
-	}
-};
+			return hash;
+		}
+	};
 }
 
 /** @endcond */