Skip to content
Snippets Groups Projects
Commit 1de4cb89 authored by Elias Pipping's avatar Elias Pipping
Browse files

Remove unnecessary use of the const keyword

This addresses warnings such as

  'const' type qualifier on return type has no effect
parent d72e827a
Branches
Tags
1 merge request!38Fix warnings
......@@ -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.
Please register or to comment