removed as applied uptream

This commit is contained in:
ensc 2008-03-16 12:51:52 +00:00
parent 9f08483279
commit 5f78aeb13e
3 changed files with 0 additions and 153 deletions

View File

@ -1,66 +0,0 @@
From 65f37adf3bf79cd61f88004b589ed8a5e6a0e1c0 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Mon, 25 Feb 2008 17:52:48 +0100
Subject: [PATCH] added virtual destructors for classes with virtual methods
---
include/xmlrpc-c/registry.hpp | 1 +
include/xmlrpc-c/server_abyss.hpp | 1 +
src/cpp/registry.cpp | 5 +++++
src/cpp/server_abyss.cpp | 3 +++
4 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/include/xmlrpc-c/registry.hpp b/include/xmlrpc-c/registry.hpp
index 4b2660d..e5e6b5e 100644
--- a/include/xmlrpc-c/registry.hpp
+++ b/include/xmlrpc-c/registry.hpp
@@ -128,6 +128,7 @@ public:
class shutdown {
public:
+ virtual ~shutdown();
virtual void
doit(std::string const& comment,
void * const callInfo) const = 0;
diff --git a/include/xmlrpc-c/server_abyss.hpp b/include/xmlrpc-c/server_abyss.hpp
index d74dacd..2fc9813 100644
--- a/include/xmlrpc-c/server_abyss.hpp
+++ b/include/xmlrpc-c/server_abyss.hpp
@@ -88,6 +88,7 @@ public:
class shutdown : public xmlrpc_c::registry::shutdown {
public:
shutdown(xmlrpc_c::serverAbyss * const severAbyssP);
+ virtual ~shutdown();
void doit(std::string const& comment, void * const callInfo) const;
private:
xmlrpc_c::serverAbyss * const serverAbyssP;
diff --git a/src/cpp/registry.cpp b/src/cpp/registry.cpp
index 8f8302b..8edc061 100644
--- a/src/cpp/registry.cpp
+++ b/src/cpp/registry.cpp
@@ -423,3 +423,8 @@ registry::c_registry() const {
}
} // namespace
+
+
+registry::shutdown::~shutdown()
+{
+}
diff --git a/src/cpp/server_abyss.cpp b/src/cpp/server_abyss.cpp
index 8c567c4..afc030e 100644
--- a/src/cpp/server_abyss.cpp
+++ b/src/cpp/server_abyss.cpp
@@ -164,6 +164,9 @@ public:
serverAbyss::shutdown::shutdown(serverAbyss * const serverAbyssP) :
serverAbyssP(serverAbyssP) {}
+serverAbyss::shutdown::~shutdown()
+{
+}
void
--
1.5.4.1

View File

@ -1,25 +0,0 @@
From 9aced7f1435d1277ea4aea13790da3691b3dc8e2 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Mon, 25 Feb 2008 17:04:17 +0100
Subject: [PATCH] fixed extra classname specification
---
tools/xmlrpc_cpp_proxy/xmlrpcMethod.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/xmlrpc_cpp_proxy/xmlrpcMethod.hpp b/tools/xmlrpc_cpp_proxy/xmlrpcMethod.hpp
index 24e01a8..2768997 100644
--- a/tools/xmlrpc_cpp_proxy/xmlrpcMethod.hpp
+++ b/tools/xmlrpc_cpp_proxy/xmlrpcMethod.hpp
@@ -20,7 +20,7 @@ public:
std::string const& help,
xmlrpc_c::value_array const& signatureList);
- xmlrpcMethod::xmlrpcMethod(xmlrpcMethod const& f);
+ xmlrpcMethod(xmlrpcMethod const& f);
xmlrpcMethod& operator= (xmlrpcMethod const& f);
--
1.5.4.1

View File

@ -1,62 +0,0 @@
From 9f1b75c40a43b197bfd85f92f72d977c4567bfc6 Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Tue, 26 Feb 2008 22:45:15 +0100
Subject: [PATCH] gcc43
---
examples/cpp/asynch_client.cpp | 1 +
examples/cpp/pstream_client.cpp | 1 +
src/cpp/packetsocket.cpp | 1 +
tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp | 1 +
4 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/examples/cpp/asynch_client.cpp b/examples/cpp/asynch_client.cpp
index c5060d3..52dc3d1 100644
--- a/examples/cpp/asynch_client.cpp
+++ b/examples/cpp/asynch_client.cpp
@@ -9,6 +9,7 @@
=============================================================================*/
#include <cassert>
+#include <cstdlib>
#include <string>
#include <iostream>
#include <xmlrpc-c/girerr.hpp>
diff --git a/examples/cpp/pstream_client.cpp b/examples/cpp/pstream_client.cpp
index ec1a808..43e5700 100644
--- a/examples/cpp/pstream_client.cpp
+++ b/examples/cpp/pstream_client.cpp
@@ -16,6 +16,7 @@
=============================================================================*/
#include <cassert>
+#include <cstdlib>
#include <string>
#include <iostream>
#include <unistd.h>
diff --git a/src/cpp/packetsocket.cpp b/src/cpp/packetsocket.cpp
index 4dd8567..2e314bc 100644
--- a/src/cpp/packetsocket.cpp
+++ b/src/cpp/packetsocket.cpp
@@ -53,6 +53,7 @@
#include <iostream>
#include <sstream>
#include <cstdio>
+#include <cstdlib>
#include <unistd.h>
#include <errno.h>
#include <fcntl.h>
diff --git a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
index fefae80..7ec8a47 100644
--- a/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
+++ b/tools/xmlrpc_cpp_proxy/xmlrpc_cpp_proxy.cpp
@@ -1,5 +1,6 @@
#include <iostream>
#include <stdexcept>
+#include <cstdlib>
#include "xmlrpcType.hpp"
#include "xmlrpcMethod.hpp"
--
1.5.4.1