Skip to content

Commit

Permalink
Fixed .name() method
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzicheng1987 committed Feb 7, 2024
1 parent 4698ab9 commit 8a3b992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/rfl/Field.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct Field {
const Type& get() const { return value_; }

/// Returns the name of the fiels as a string.
static std::string name() const { return name_::str(); }
static std::string name() { return Name()::str(); }

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-clang

expected ';' after return statement

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

expected ‘;’ before ‘::’ token

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

‘::str’ has not been declared; did you mean ‘std’?

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

expected ‘;’ before ‘::’ token

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

‘::str’ has not been declared; did you mean ‘std’?

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

expected ‘;’ before ‘::’ token

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

‘::str’ has not been declared; did you mean ‘std’?

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

expected ‘;’ before ‘::’ token

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

‘::str’ has not been declared; did you mean ‘std’?

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

expected ‘;’ before ‘::’ token

Check failure on line 69 in include/rfl/Field.hpp

View workflow job for this annotation

GitHub Actions / linux-gcc

‘::str’ has not been declared; did you mean ‘std’?

/// Returns the underlying object.
Type& operator()() { return value_; }
Expand Down

0 comments on commit 8a3b992

Please sign in to comment.