Skip to content

Commit

Permalink
change file_name from constexpr to inline
Browse files Browse the repository at this point in the history
  • Loading branch information
toroidal-code committed Feb 18, 2024
1 parent a99d08d commit 3270d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/argparse.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

namespace CppSpec {

constexpr std::string file_name(std::string_view path) {
inline std::string file_name(std::string_view path) {
std::string_view file = path;
for (size_t i = 0; i < path.size(); ++i) {
if (path[i] == '/') {
Expand Down

0 comments on commit 3270d81

Please sign in to comment.