Commit 66855a99 authored by Ian Roddis's avatar Ian Roddis

Fixing case where const was cast away

parent b7e84d3f
......@@ -189,7 +189,7 @@ public:
}
Buffer buffer() const {
return Buffer((char*) data_.data(), pptr() - &data_[0]);
return Buffer((const char*) data_.data(), pptr() - &data_[0]);
}
void clear() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment