summaryrefslogtreecommitdiff
path: root/src/convert.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert.cc')
-rw-r--r--src/convert.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/convert.cc b/src/convert.cc
index 5e77f97..3af143a 100644
--- a/src/convert.cc
+++ b/src/convert.cc
@@ -12,9 +12,9 @@
using namespace Binc;
using std::string;
-BincStream::BincStream(void) {}
+BincStream::BincStream() {}
-BincStream::~BincStream(void)
+BincStream::~BincStream()
{
clear();
}
@@ -27,7 +27,7 @@ string BincStream::popString(unsigned int size)
return tmp;
}
-char BincStream::popChar(void)
+char BincStream::popChar()
{
if (nstr.length() == 0) return '\0';
@@ -46,17 +46,17 @@ void BincStream::unpopStr(const string &s)
nstr = s + nstr;
}
-const string &BincStream::str(void) const
+const string &BincStream::str() const
{
return nstr;
}
-void BincStream::clear(void)
+void BincStream::clear()
{
nstr = "";
}
-unsigned int BincStream::getSize(void) const
+unsigned int BincStream::getSize() const
{
return (unsigned int)nstr.length();
}