mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Tidy up for C++11, and fixes:
* Remove shared_ptr legacy support * Add make_unique support for pre-C++14 environments * Fix comparison bug in sqdb * Use std::shared_ptr in a few places
This commit is contained in:
@@ -1363,9 +1363,9 @@ Application::Application ()
|
||||
{
|
||||
}
|
||||
|
||||
Application* Application::New ()
|
||||
std::unique_ptr <Application> make_Application ()
|
||||
{
|
||||
return new ApplicationImp;
|
||||
return std::make_unique <ApplicationImp> ();
|
||||
}
|
||||
|
||||
Application& getApp ()
|
||||
|
||||
Reference in New Issue
Block a user