Skip to content

Commit 1b30505

Browse files
committed
Merge branch 'master' of https://github.com/romeric/Fastor
2 parents c16efc5 + 13b2a1c commit 1b30505

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Fastor/util/types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Fastor {
88
namespace useless {
99
class probe_type;
10-
void extract_type(std::string_view& name, std::string_view probe_type_name);
10+
inline void extract_type(std::string_view& name, std::string_view probe_type_name);
1111
} // useless
1212

1313
template <typename T>
@@ -30,7 +30,7 @@ constexpr std::string_view type_name() {
3030
}
3131

3232
namespace useless {
33-
void extract_type(std::string_view& name, std::string_view probe_type_name) {
33+
inline void extract_type(std::string_view& name, std::string_view probe_type_name) {
3434
if (name.find(probe_type_name) == std::string_view::npos) {
3535
//For known type probe_type get raw name and then prefix and suffix sizes
3636
const std::string_view probe_type_raw_name = type_name<probe_type> ();

0 commit comments

Comments
 (0)