Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: include/AdblockPlus/FilterEngine.h

Issue 29391775: Issue 5013 - Improve some const-correctness (Closed) Base URL: https://hg.adblockplus.org/libadblockplus/
Patch Set: Feedback + another small patch related. Created March 22, 2017, 4:50 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/DefaultWebRequestCurl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/AdblockPlus/FilterEngine.h
===================================================================
--- a/include/AdblockPlus/FilterEngine.h
+++ b/include/AdblockPlus/FilterEngine.h
@@ -47,17 +47,17 @@ namespace AdblockPlus
enum Type {TYPE_BLOCKING, TYPE_EXCEPTION,
TYPE_ELEMHIDE, TYPE_ELEMHIDE_EXCEPTION,
TYPE_COMMENT, TYPE_INVALID};
/**
* Retrieves the type of this filter.
* @return Type of this filter.
*/
- Type GetType();
+ Type GetType() const;
sergei 2017/03/23 10:49:56 Do you mind to put it into another commit? I think
/**
* Checks whether this filter has been added to the list of custom filters.
* @return `true` if this filter has been added.
*/
bool IsListed();
/**
« no previous file with comments | « no previous file | src/DefaultWebRequestCurl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld