From 5e2ea4a81ae95a488e30f6f0e20a37d38bbeea64 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Mon, 17 Jul 2017 14:24:57 -0700 Subject: [PATCH] Cleanup. --- node/Buffer.hpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/node/Buffer.hpp b/node/Buffer.hpp index 8979938f8..7b91e72fb 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 inline Buffer &operator=(const Buffer &b) { @@ -290,17 +285,6 @@ public: _l += l; } - /** - * 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 *