Browse Source

Update Ptr.h

Add include required for hash32 symbol used with inline function     `hash32 ToHash() const { return (hash32)((size_t)ptr_ / sizeof(T)); }`
ChrisDenham 2 years ago
parent
commit
154a0e6ede
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/Urho3D/Container/Ptr.h

+ 1 - 0
Source/Urho3D/Container/Ptr.h

@@ -3,6 +3,7 @@
 
 #pragma once
 
+#include "../Base/PrimitiveTypes.h"
 #include "../Container/RefCounted.h"
 #include "../Container/Swap.h"