diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-17 14:24:57 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-07-17 14:24:57 -0700 |
commit | 5e2ea4a81ae95a488e30f6f0e20a37d38bbeea64 (patch) | |
tree | 30b966b64eef976753b83fd1bd8949e2e3977b19 /node/Buffer.hpp | |
parent | b9e1d53d7ac4e8d19520e3063b194ee01f550198 (diff) | |
download | infinitytier-5e2ea4a81ae95a488e30f6f0e20a37d38bbeea64.tar.gz infinitytier-5e2ea4a81ae95a488e30f6f0e20a37d38bbeea64.zip |
Cleanup.
Diffstat (limited to 'node/Buffer.hpp')
-rw-r--r-- | node/Buffer.hpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/node/Buffer.hpp b/node/Buffer.hpp index 8979938f..7b91e72f 100644 --- a/node/Buffer.hpp +++ b/node/Buffer.hpp @@ -110,11 +110,6 @@ public: copyFrom(b,l); } - Buffer(const std::string &s) - { - copyFrom(s.data(),s.length()); - } - template<unsigned int C2> inline Buffer &operator=(const Buffer<C2> &b) { @@ -291,17 +286,6 @@ public: } /** - * Append a string - * - * @param s String to append - * @throws std::out_of_range Attempt to append beyond capacity - */ - inline void append(const std::string &s) - { - append(s.data(),(unsigned int)s.length()); - } - - /** * Append a C string including null termination byte * * @param s C string |