[clang-tidy] make several member functions const
Found with readability-make-member-function-const Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
be7492203e
commit
1863090b55
@ -29,7 +29,7 @@ Tag::Tag(const Token& token)
|
||||
}
|
||||
}
|
||||
|
||||
std::string Tag::Translate(const Directives& directives) {
|
||||
std::string Tag::Translate(const Directives& directives) const {
|
||||
switch (type) {
|
||||
case VERBATIM:
|
||||
return value;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user