From 0731e05211ff5e47e6a8b2c006bd6012da5cc161 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 27 Feb 2008 16:37:48 +0000 Subject: Generate code for both 0-99 preview and 0-10 final specs . 0-10 final: extended code generation and non-generated support classes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@631638 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/serialize.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/tests/serialize.cpp') diff --git a/cpp/src/tests/serialize.cpp b/cpp/src/tests/serialize.cpp index 72a92ee226..a120be6458 100644 --- a/cpp/src/tests/serialize.cpp +++ b/cpp/src/tests/serialize.cpp @@ -79,7 +79,7 @@ template struct concat4 { typedef typename typedef mpl::vector::type IntegralTypes; typedef mpl::vector::type BinTypes; typedef mpl::vector::type FloatTypes; -typedef mpl::vector FixedSizeClassTypes; +typedef mpl::vector FixedSizeClassTypes; typedef mpl::vector VariableSizeTypes; @@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE(testNetworkByteOrder) { void testValue(bool& b) { b = true; } template typename boost::enable_if >::type testValue(T& n) { n=42; } void testValue(long long& l) { l = 12345; } -void testValue(DateTime& dt) { dt = qpid::sys::now(); } +void testValue(Datetime& dt) { dt = qpid::sys::now(); } void testValue(Uuid& uuid) { uuid=Uuid(true); } template void testValue(Decimal& d) { d.exponent=2; d.mantissa=1234; } void testValue(SequenceNo& s) { s = 42; } -- cgit v1.2.1