Skip to content

Commit

Permalink
Fix return address of test_manager_tls_block_t in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Nov 13, 2020
1 parent dd10eb2 commit 18be168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/frame/test_manager.cpp
Expand Up @@ -52,7 +52,7 @@ namespace detail {
static test_manager_tls_block_t g_global_counter_cache = {0, 0};
test_manager_tls_block_t *get_test_manager_tls_block() {
static THREAD_TLS test_manager_tls_block_t ret = g_global_counter_cache;
return ret;
return &ret;
}
#else

Expand Down

0 comments on commit 18be168

Please sign in to comment.