xmlrpc-c/xmlrpc-c-default-constructor.patch
2011-04-02 15:34:16 +02:00

30 lines
1.1 KiB
Diff

From 3047dab03a91b5f63f6dee481f9eda69e044adfa Mon Sep 17 00:00:00 2001
From: Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Date: Sat, 2 Apr 2011 15:29:47 +0200
Subject: [PATCH] added default constructor
fixes
| src/cpp/registry.cpp: In member function 'virtual void xmlrpc_c::method2::execute(const xmlrpc_c::paramList&, xmlrpc_c::value*)':
| src/cpp/registry.cpp:73:20: error: uninitialized const 'nullCallInfo' [-fpermissive]
| include/xmlrpc-c/registry.hpp:17:24: note: 'const class xmlrpc_c::callInfo' has no user-provided default constructor
---
include/xmlrpc-c/registry.hpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/include/xmlrpc-c/registry.hpp b/include/xmlrpc-c/registry.hpp
index 81db5b0..a08dbdd 100644
--- a/include/xmlrpc-c/registry.hpp
+++ b/include/xmlrpc-c/registry.hpp
@@ -24,6 +24,7 @@ class XMLRPC_DLLEXPORT callInfo {
information pertinent to that kind of server.
-----------------------------------------------------------------------------*/
public:
+ callInfo() {};
virtual ~callInfo() {}; // This makes it polymorphic
};
--
1.7.4