Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/drtimcooper/XmlRpc4Win.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2016-05-20 22:55:02 +0300
committerKacper Michajłow <kasper93@gmail.com>2016-05-21 13:30:41 +0300
commit4d355160ba02686c357b6c6ebf52f5edca931517 (patch)
treeb5b94e7d3fc9a2291bc712061b66cc52b90d45fb
parentb7ec3e6e726b4fb179437db2027d46acb458c3cc (diff)
Remove global string
It is not used anywhere and only introduce unneded overhead.
-rw-r--r--TimXmlRpc.cpp5
-rw-r--r--timxmlrpc.h10
2 files changed, 0 insertions, 15 deletions
diff --git a/TimXmlRpc.cpp b/TimXmlRpc.cpp
index c8c919b..c336645 100644
--- a/TimXmlRpc.cpp
+++ b/TimXmlRpc.cpp
@@ -57,11 +57,6 @@ static const char NAME_ETAG[] = "</name>";
static const char MEMBER_ETAG[] = "</member>";
static const char STRUCT_ETAG[] = "</struct>";
-std::string XmlRpcValue::_doubleFormat;
-
-
-
-
//---------------------------------- Misc: -------------------------------
diff --git a/timxmlrpc.h b/timxmlrpc.h
index 23086af..b0c3dfb 100644
--- a/timxmlrpc.h
+++ b/timxmlrpc.h
@@ -254,13 +254,6 @@ public:
//! Encode the Value in xml
void toXml(std::ostringstream &ostr) const;
- // Formatting
- //! Return the format used to write double values.
- static std::string const& getDoubleFormat() { return _doubleFormat; }
-
- //! Specify the format used to write double values.
- static void setDoubleFormat(const char* f) { _doubleFormat = f; }
-
bool parseMethodResponse(const char* s);
void buildCall(const char* method, std::ostringstream &ostr) const;
@@ -295,9 +288,6 @@ protected:
void structToXml(std::ostringstream &ostr) const;
void nilToXml(std::ostringstream &ostr) const;
- // Format strings
- static std::string _doubleFormat;
-
// Type tag and values
Type _type;