Add static keyword

Mark `xlnt::detail::read_defined_names()` as static as it is not supposed to be used outside this translation unit.
This commit is contained in:
Joel Bodenmann 2022-09-19 13:31:04 +00:00 committed by GitHub
parent fbae8cd6c1
commit b355aef997
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -449,7 +449,7 @@ void xlsx_consumer::read_worksheet(const std::string &rel_id)
} }
} }
void read_defined_names(worksheet ws, std::vector<defined_name> defined_names) static void read_defined_names(worksheet ws, std::vector<defined_name> defined_names)
{ {
for (auto &name : defined_names) for (auto &name : defined_names)
{ {