qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject svn commit: r1162233 - in /qpid/trunk/qpid/cpp: include/qpid/Msg.h src/qpid/types/Variant.cpp
Date Fri, 26 Aug 2011 20:08:42 GMT
Author: aconway
Date: Fri Aug 26 20:08:41 2011
New Revision: 1162233

URL: http://svn.apache.org/viewvc?rev=1162233&view=rev
Log:
QPID-3457: qpid::Msg::str() method not exported

- Added the QPID_COMMON_EXTERN declaration to Msg.h
- Removed a spurious #include "Msg.h" from qpid/types/Variant.cpp

Modified:
    qpid/trunk/qpid/cpp/include/qpid/Msg.h
    qpid/trunk/qpid/cpp/src/qpid/types/Variant.cpp

Modified: qpid/trunk/qpid/cpp/include/qpid/Msg.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/Msg.h?rev=1162233&r1=1162232&r2=1162233&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/Msg.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/Msg.h Fri Aug 26 20:08:41 2011
@@ -24,6 +24,7 @@
 
 #include <sstream>
 #include <iostream>
+#include "qpid/CommonImportExport.h"
 
 namespace qpid {
 
@@ -41,7 +42,7 @@ struct Msg {
     std::ostringstream os;
     Msg() {}
     Msg(const Msg& m) : os(m.str()) {}
-    std::string str() const;
+    QPID_COMMON_EXTERN std::string str() const;
     operator std::string() const { return str(); }
 
     Msg& operator<<(long n) { os << n; return *this; }

Modified: qpid/trunk/qpid/cpp/src/qpid/types/Variant.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/types/Variant.cpp?rev=1162233&r1=1162232&r2=1162233&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/types/Variant.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/types/Variant.cpp Fri Aug 26 20:08:41 2011
@@ -19,7 +19,6 @@
  *
  */
 #include "qpid/types/Variant.h"
-#include "qpid/Msg.h"
 #include "qpid/log/Statement.h"
 #include <boost/format.hpp>
 #include <boost/lexical_cast.hpp>



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message