Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 20, 2025
1 parent 514895d commit 129e361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dict/utils/dictfile.hh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ public:
template< typename T >
void readU32SizeAndData( T & container )
{
static_assert( std::is_same< T, std::vector< unsigned char > >::value || std::is_same< T, std::vector< char > >::value || std::is_same< T, std::string >::value,
static_assert( std::is_same< T, std::vector< unsigned char > >::value
|| std::is_same< T, std::vector< char > >::value || std::is_same< T, std::string >::value,
"T must be either std::vector<char> or std::string" );
uint32_t size = 0;
read( &size, sizeof( uint32_t ) );
Expand Down

0 comments on commit 129e361

Please sign in to comment.