Skip to content

Commit ead7db5

Browse files
committed
Add missing "inline" to print_width() function
1 parent 94d8ac1 commit ead7db5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/osmium/io/detail/debug_output_format.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ namespace osmium {
107107
}; // struct debug_output_options
108108

109109
// Space needed for printing numbers from 0 to num - 1
110-
int print_width(std::size_t num) noexcept {
110+
inline int print_width(std::size_t num) noexcept {
111111
if (num <= 10) {
112112
return 1;
113113
}

0 commit comments

Comments
 (0)