commit | 570b20dd9d56d27cddc66247d77671123c90b87e | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Jul 15 21:53:14 2018 -0400 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Sun Jul 15 22:00:21 2018 -0400 |
tree | bdad370cebb8d342232c78d7d197d1568d16f1f8 | |
parent | 14883ad4c881d1b52b18638931838272b36c19a3 [diff] [blame] |
encoding+lp: declare constexpr and noexcept where possible Change-Id: Icf708af0b77d62d7d8e75527aaf51c7178e47125
diff --git a/src/encoding/block.cpp b/src/encoding/block.cpp index ed8f5c9..639ed68 100644 --- a/src/encoding/block.cpp +++ b/src/encoding/block.cpp
@@ -50,7 +50,7 @@ } Block::Block(const EncodingBuffer& buffer) - : Block(const_cast<EncodingBuffer&>(buffer).getBuffer(), buffer.begin(), buffer.end(), true) + : Block(buffer.getBuffer(), buffer.begin(), buffer.end(), true) { }