summaryrefslogtreecommitdiff
path: root/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h')
-rw-r--r--net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h
new file mode 100644
index 000000000000..3c9ed6b4c7cf
--- /dev/null
+++ b/net/xmlrpc-c-devel/files/patch-tools::xml-rpc-api2cpp::XmlRpcClass.h
@@ -0,0 +1,29 @@
+--- tools/xml-rpc-api2cpp/XmlRpcClass.h.orig Mon Mar 26 08:43:07 2001
++++ tools/xml-rpc-api2cpp/XmlRpcClass.h Tue Mar 2 23:39:39 2004
+@@ -1,19 +1,19 @@
+-#include <vector.h>
++#include <vector>
+
+ class XmlRpcClass {
+- string mClassName;
+- vector<XmlRpcFunction> mFunctions;
++ std::string mClassName;
++ std::vector<XmlRpcFunction> mFunctions;
+
+
+ public:
+- XmlRpcClass (string class_name);
++ XmlRpcClass (std::string class_name);
+ XmlRpcClass (const XmlRpcClass&);
+ XmlRpcClass& operator= (const XmlRpcClass&);
+
+- string className () const { return mClassName; }
++ std::string className () const { return mClassName; }
+
+ void addFunction (const XmlRpcFunction& function);
+
+- void printDeclaration (ostream& out);
+- void printDefinition (ostream& out);
++ void printDeclaration (std::ostream& out);
++ void printDefinition (std::ostream& out);
+ };