From ca849f5add7191fd0436e45d069a091c36462860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Wed, 25 Mar 2015 12:26:19 -0700 Subject: [PATCH] Fixed compiler warning. --- tests/unordered_map_nonpod.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/unordered_map_nonpod.cpp b/tests/unordered_map_nonpod.cpp index c945803..f9607e3 100644 --- a/tests/unordered_map_nonpod.cpp +++ b/tests/unordered_map_nonpod.cpp @@ -29,10 +29,11 @@ #include #include +struct Foo { int bar; }; + TEST(uomap_nonpod_compiles) { - struct Foo { int bar; }; // verify this compiles typedef tinystl::unordered_map map; map m; -} \ No newline at end of file +}