Compiler changes to work with GCC
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@428 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/stack_container_unittest.cc b/base/stack_container_unittest.cc
index aa8f34a..a732995 100644
--- a/base/stack_container_unittest.cc
+++ b/base/stack_container_unittest.cc
@@ -132,6 +132,10 @@
EXPECT_EQ(even_aligned, true);
}
+#ifdef COMPILER_MSVC
// Make sure all the class compiles correctly.
+// TODO(pinkerton): i'm not sure why this doesn't compile on GCC, but
+// it doesn't.
template StackVector<int, 2>;
template StackVector<scoped_refptr<Dummy>, 2>;
+#endif