summaryrefslogtreecommitdiff
path: root/lib/Buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Buffer.cc')
-rw-r--r--lib/Buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Buffer.cc b/lib/Buffer.cc
index 85445c6..6d0317e 100644
--- a/lib/Buffer.cc
+++ b/lib/Buffer.cc
@@ -54,7 +54,7 @@ String Buffer::GetName() {
return "Buffer";
}
-Buffer Buffer::operator=(Buffer & b) {
+Buffer Buffer::operator=(const Buffer & b) {
if (b.buffer != buffer) {
free(buffer);
realsiz = b.realsiz;