Skip to content

Commit

Permalink
fix to make bytestring serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
Altren committed Feb 28, 2025
1 parent 806e342 commit 5a6f778
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions include/rfl/internal/enums/StringConverter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,6 @@ class StringConverter {

/// Transforms a string to the matching enum.
static Result<EnumType> string_to_enum(const std::string& _str) {
static_assert(names_.size != 0,
"No enum could be identified. Please choose enum values "
"between 0 to 127 or for flag enums choose 1,2,4,8,16,...");
if constexpr (is_flag_enum_) {
return string_to_flag_enum(_str);
} else {
Expand Down

0 comments on commit 5a6f778

Please sign in to comment.