Closed Lomadriel closed 9 years ago
See #38.
According to gcc documentation and —§6.7 [stmt.dcl] p4 of C++11. This singleton pattern is thread-safe and use reference instead pointer.
There is just a little warning warning: control reaches end of non-void function [-Wreturn-type] I work to correct it.
warning: control reaches end of non-void function [-Wreturn-type]
See #38.
According to gcc documentation and —§6.7 [stmt.dcl] p4 of C++11. This singleton pattern is thread-safe and use reference instead pointer.