Branimir Karadžić пре 10 година
родитељ
комит
ca849f5add
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      tests/unordered_map_nonpod.cpp

+ 3 - 2
tests/unordered_map_nonpod.cpp

@@ -29,10 +29,11 @@
 #include <tinystl/allocator.h>
 #include <tinystl/unordered_map.h>
 
+struct Foo { int bar; };
+
 TEST(uomap_nonpod_compiles) {
-	struct Foo { int bar; };
 
 	// verify this compiles
 	typedef tinystl::unordered_map<int, Foo> map;
 	map m;
-}
+}