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 Jul 2, 2021
1 parent e932e8f commit c6ee4d8
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 153 deletions.
Loading

0 comments on commit c6ee4d8

Please sign in to comment.