summaryrefslogtreecommitdiffstats
path: root/base/stack_container_unittest.cc
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 13:26:05 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 13:26:05 +0000
commitcac3187c888f1cb32c72de5c18ef5264f12dfb0d (patch)
tree93f02d83077184aabdaaf3ea0f0276dfe01ac66f /base/stack_container_unittest.cc
parent40d358fb5d2083582f512977a4119a650eddf3b0 (diff)
downloadchromium_src-cac3187c888f1cb32c72de5c18ef5264f12dfb0d.zip
chromium_src-cac3187c888f1cb32c72de5c18ef5264f12dfb0d.tar.gz
chromium_src-cac3187c888f1cb32c72de5c18ef5264f12dfb0d.tar.bz2
Compiler changes to work with GCC
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@428 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/stack_container_unittest.cc')
-rw-r--r--base/stack_container_unittest.cc4
1 files changed, 4 insertions, 0 deletions
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 @@ TEST(StackContainer, BufferAlignment) {
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