Skip to content

Commit 8953be1

Browse files
committed
apply suggestion from bot
1 parent 356a95d commit 8953be1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xinspect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace xcpp
1818
&& static_cast<std::string>(node.child("name").child_value()) == child_value;
1919
}
2020

21-
std::string class_member_predicate::get_filename(pugi::xml_node node)
21+
std::string class_member_predicate::get_filename(pugi::xml_node node) const
2222
{
2323
for (pugi::xml_node child : node.children())
2424
{

src/xinspect.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ namespace xcpp
3636
std::string kind;
3737
std::string child_value;
3838

39-
std::string get_filename(pugi::xml_node node);
39+
std::string get_filename(pugi::xml_node node) const;
4040
bool operator()(pugi::xml_node node) const;
4141
};
4242

0 commit comments

Comments
 (0)