Skip to content

Commit

Permalink
Replace global CUDTUnited by static local variable
Browse files Browse the repository at this point in the history
Static local variable has the benefits of lazy initialization and
avoids the initialization order problem of global variables.
  • Loading branch information
quink-black committed Apr 13, 2021
1 parent 66f2390 commit 8befa35
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 129 deletions.
Loading

0 comments on commit 8befa35

Please sign in to comment.