forked from microsoft/CNTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use of static constructors in headers cause the constructors/destructors to be run in each compilation unit that includes the headers. The multiple constructors runs are leaks, the multiple destructor runs are multiple-frees at program exit time. These string constructors can instead use const char* with little impact on the methods that reference them.
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters