Skip to content

Commit

Permalink
When you give into the const-ness, the darkness comes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Stefani committed Apr 30, 2014
1 parent 80da934 commit d80f1de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtbkit/core/router/filters/generic_creative_filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ struct IterativeCreativeFilter : public IterativeFilter<Filter>

// Same semantics as filter but called for every impressions.
virtual CreativeMatrix
filterImpression(FilterState& state, size_t impId, const AdSpot& imp)
filterImpression(FilterState& state, size_t impId, const AdSpot& imp) const
{
CreativeMatrix mask;
auto active = state.creatives(impId);
Expand All @@ -116,7 +116,7 @@ struct IterativeCreativeFilter : public IterativeFilter<Filter>
// creatives combinations.
virtual bool
filterCreative(
FilterState&, const AdSpot&, const AgentConfig&, const Creative&)
FilterState&, const AdSpot&, const AgentConfig&, const Creative&) const
{
ExcAssert(false);
return false;
Expand Down

0 comments on commit d80f1de

Please sign in to comment.