Skip to content

Commit 3270d81

Browse files
committed
change file_name from constexpr to inline
1 parent a99d08d commit 3270d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/argparse.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace CppSpec {
1313

14-
constexpr std::string file_name(std::string_view path) {
14+
inline std::string file_name(std::string_view path) {
1515
std::string_view file = path;
1616
for (size_t i = 0; i < path.size(); ++i) {
1717
if (path[i] == '/') {

0 commit comments

Comments
 (0)