Skip to content

Commit

Permalink
add const
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Oct 10, 2014
1 parent 1460d2b commit 3444ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tod_manager.cpp
Expand Up @@ -76,7 +76,7 @@ template <typename T>
struct greater
{
greater(T val) : value (val) {}
bool operator () (T v2)
bool operator () (T v2) const
{
return value < v2;
}
Expand Down

1 comment on commit 3444ae2

@eldruz
Copy link

@eldruz eldruz commented on 3444ae2 Oct 10, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It appears the fix does resolve the compilation issue.
Don't know about any side effect this might have though.

Please sign in to comment.