Skip to content

Commit 1bcddad

Browse files
two-heartjherrera-jump
authored andcommitted
gui: live table turn FD_TEST into FD_STATIC_ASSERT
1 parent 00061cf commit 1bcddad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/disco/gui/fd_gui_live_table_tmpl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ LIVE_TABLE_(new)( void * shmem, ulong max_rows ) {
573573
for( ulong i=0; i<LIVE_TABLE_MAX_SORT_KEY_CNT; i++ ) _table->treaps_is_active[ i ] = 0;
574574

575575
LIVE_TABLE_(private_column_t) cols[ LIVE_TABLE_COLUMN_CNT ] = LIVE_TABLE_COLUMNS;
576-
FD_TEST( LIVE_TABLE_COLUMN_CNT == sizeof(cols)/sizeof(LIVE_TABLE_(private_column_t)) );
576+
FD_STATIC_ASSERT( LIVE_TABLE_COLUMN_CNT == sizeof(cols)/sizeof(LIVE_TABLE_(private_column_t)), column count is wrong );
577577

578578
/* live_table_treap_new( ... ) not called since all treaps start as inactive */
579579

0 commit comments

Comments
 (0)