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:
Vinnie Falco
2014-01-16 18:29:30 -05:00
parent fa10e90c9d
commit c341d1a71e
20 changed files with 49 additions and 107 deletions

View File

@@ -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 ()