Skip to content

Commit

Permalink
Add missing semicolons
Browse files Browse the repository at this point in the history
  • Loading branch information
H1MSK authored Oct 22, 2023
1 parent 92e880f commit 5c27dec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/etl/basic_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ namespace etl
set_truncated(*other != 0);

#if ETL_HAS_ERROR_ON_STRING_TRUNCATION
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation))
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation));
#endif
#endif

Expand All @@ -724,7 +724,7 @@ namespace etl
set_truncated(length_ > CAPACITY);

#if ETL_HAS_ERROR_ON_STRING_TRUNCATION
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation))
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation));
#endif
#endif

Expand Down Expand Up @@ -764,7 +764,7 @@ namespace etl
set_truncated(first != last);

#if ETL_HAS_ERROR_ON_STRING_TRUNCATION
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation))
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation));
#endif
#endif
}
Expand All @@ -783,7 +783,7 @@ namespace etl
set_truncated(n > CAPACITY);

#if ETL_HAS_ERROR_ON_STRING_TRUNCATION
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation))
ETL_ASSERT(flags.test<IS_TRUNCATED>() == false, ETL_ERROR(string_truncation));
#endif
#endif

Expand Down

0 comments on commit 5c27dec

Please sign in to comment.