Skip to content

Commit

Permalink
[core] Replaced global CUDTUnited with static local variable (#1913)
Browse files Browse the repository at this point in the history
A static local variable has the benefits of lazy initialization and
avoids the initialization order problem of global variables.
  • Loading branch information
quink-black authored Oct 4, 2021
1 parent 0c604c1 commit 5b0811c
Show file tree
Hide file tree
Showing 7 changed files with 241 additions and 215 deletions.
Loading

0 comments on commit 5b0811c

Please sign in to comment.