diff options
| author | Alan Conway <aconway@apache.org> | 2008-04-15 21:32:35 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-04-15 21:32:35 +0000 |
| commit | 81f8d4b31e49186f01a0936fed578ea26f25b060 (patch) | |
| tree | 17f3b90f3df0867821f9d43851dab0d36f02334b /qpid/cpp/src | |
| parent | caceb56988996f722585125c1990233aff0a1166 (diff) | |
| download | qpid-python-81f8d4b31e49186f01a0936fed578ea26f25b060.tar.gz | |
Fix build error - missing op << for Struct32.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@648418 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/Makefile.am | 2 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/amqp_0_10/Struct32.cpp | 30 | ||||
| -rw-r--r-- | qpid/cpp/src/qpid/amqp_0_10/Struct32.h | 3 |
3 files changed, 35 insertions, 0 deletions
diff --git a/qpid/cpp/src/Makefile.am b/qpid/cpp/src/Makefile.am index 3177d280a6..008c2431d1 100644 --- a/qpid/cpp/src/Makefile.am +++ b/qpid/cpp/src/Makefile.am @@ -121,6 +121,8 @@ libqpidcommon_la_SOURCES = \ qpid/amqp_0_10/SerializableString.h \ qpid/amqp_0_10/Map.h \ qpid/amqp_0_10/Map.cpp \ + qpid/amqp_0_10/Struct32.h \ + qpid/amqp_0_10/Struct32.cpp \ qpid/amqp_0_10/Unit.h \ qpid/amqp_0_10/Unit.cpp \ qpid/amqp_0_10/UnknownType.h \ diff --git a/qpid/cpp/src/qpid/amqp_0_10/Struct32.cpp b/qpid/cpp/src/qpid/amqp_0_10/Struct32.cpp new file mode 100644 index 0000000000..b36b118db3 --- /dev/null +++ b/qpid/cpp/src/qpid/amqp_0_10/Struct32.cpp @@ -0,0 +1,30 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + */ + +#include "Struct32.h" + +namespace qpid { +namespace amqp_0_10 { + +std::ostream& operator<<(std::ostream& o, const Struct32& s) { + return o << static_cast<const StructHolder&>(s); +} + +}} // namespace qpid::amqp_0_10 diff --git a/qpid/cpp/src/qpid/amqp_0_10/Struct32.h b/qpid/cpp/src/qpid/amqp_0_10/Struct32.h index 662518efb8..1f0c116f91 100644 --- a/qpid/cpp/src/qpid/amqp_0_10/Struct32.h +++ b/qpid/cpp/src/qpid/amqp_0_10/Struct32.h @@ -55,6 +55,9 @@ class Struct32 : public StructHolder } }; + +std::ostream& operator<<(std::ostream&, const Struct32&); + }} // namespace qpid::amqp_0_10 #endif /*!QPID_AMQP_0_10_STRUCT32_H*/ |
