Skip to content
Snippets Groups Projects
Commit 390378d8 authored by Elias Pipping's avatar Elias Pipping Committed by Steffen Müthing
Browse files

Remove unnecessary use of the const keyword


This addresses warnings such as

  'const' type qualifier on return type has no effect

(cherry picked from commit 1de4cb89)
Signed-off-by: default avatarSteffen Müthing <muething@dune-project.org>
parent 56ed1d13
No related merge requests found
......@@ -104,7 +104,7 @@ namespace Dune {
/**
* @brief Removes the first element.
*/
const void pop_front()
void pop_front()
{
key_type k = _data.front().first;
_data.pop_front();
......@@ -113,7 +113,7 @@ namespace Dune {
/**
* @brief Removes the last element.
*/
const void pop_back()
void pop_back()
{
key_type k = _data.back().first;
_data.pop_back();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment