Formatting fixes

This commit is contained in:
Edward R. Gonzalez 2023-07-24 20:59:20 -04:00
parent 4a87a42db0
commit 387787b88d
10 changed files with 106 additions and 109 deletions

View File

@ -361,7 +361,6 @@ StringCached get_cached_string( StrC str )
} }
String result = String::make( get_string_allocator( str.Len ), str ); String result = String::make( get_string_allocator( str.Len ), str );
StringCache.set( key, result ); StringCache.set( key, result );
return result; return result;

View File

@ -152,4 +152,3 @@ Code untyped_str ( StrC content);
Code untyped_fmt ( char const* fmt, ... ); Code untyped_fmt ( char const* fmt, ... );
Code untyped_token_fmt( char const* fmt, s32 num_tokens, ... ); Code untyped_token_fmt( char const* fmt, s32 num_tokens, ... );
#pragma endregion Untyped text #pragma endregion Untyped text

View File

@ -1828,4 +1828,3 @@ CodeBody def_union_body( s32 num, CodeUnion* codes )
# undef name_check # undef name_check
# undef null_check # undef null_check
# undef null_or_invalid_check # undef null_or_invalid_check

View File

@ -92,7 +92,7 @@
#define size_of( x ) ( sw )( sizeof( x ) ) #define size_of( x ) ( sw )( sizeof( x ) )
template< class Type > template< class Type >
void swap( Type a, Type b ) void swap( Type& a, Type& b )
{ {
Type tmp = a; Type tmp = a;
a = b; a = b;