diff options
author | Adrian Kummerlaender | 2016-02-22 20:46:27 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2016-02-22 20:46:27 +0100 |
commit | f357d79176ffbde8947a8c9b039729273f7411cd (patch) | |
tree | b13630d6e0270c7d8a9f566a7854744e55967278 /src/tracking | |
parent | c67bd1d54e518bb9f4ecef97962100eb41dbac42 (diff) | |
download | change-f357d79176ffbde8947a8c9b039729273f7411cd.tar change-f357d79176ffbde8947a8c9b039729273f7411cd.tar.gz change-f357d79176ffbde8947a8c9b039729273f7411cd.tar.bz2 change-f357d79176ffbde8947a8c9b039729273f7411cd.tar.lz change-f357d79176ffbde8947a8c9b039729273f7411cd.tar.xz change-f357d79176ffbde8947a8c9b039729273f7411cd.tar.zst change-f357d79176ffbde8947a8c9b039729273f7411cd.zip |
Rename `PathMatcher::isMatching` to `PathMatcher::is_matching`
Purely cosmetic change to match the overall naming scheme.
Diffstat (limited to 'src/tracking')
-rw-r--r-- | src/tracking/path_matcher.cc | 2 | ||||
-rw-r--r-- | src/tracking/path_matcher.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tracking/path_matcher.cc b/src/tracking/path_matcher.cc index c136565..da7917d 100644 --- a/src/tracking/path_matcher.cc +++ b/src/tracking/path_matcher.cc @@ -28,7 +28,7 @@ PathMatcher::PathMatcher(const std::string& source_file_path) { } } -bool PathMatcher::isMatching(const std::string& candidate) const { +bool PathMatcher::is_matching(const std::string& candidate) const { return std::any_of( this->patterns_.begin(), this->patterns_.end(), diff --git a/src/tracking/path_matcher.h b/src/tracking/path_matcher.h index 64337c0..966567e 100644 --- a/src/tracking/path_matcher.h +++ b/src/tracking/path_matcher.h @@ -11,7 +11,7 @@ class PathMatcher { PathMatcher() = default; PathMatcher(const std::string&); - bool isMatching(const std::string&) const; + bool is_matching(const std::string&) const; private: std::vector<std::regex> patterns_; |