After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.

llvm-svn: 179805
This commit is contained in:
Greg Clayton
2013-04-18 22:45:39 +00:00
parent 9f7a221fdc
commit 7b0992d9cd
162 changed files with 432 additions and 465 deletions

View File

@@ -60,7 +60,7 @@ OperatingSystemPython::CreateInstance (Process *process, bool force)
FileSpec python_os_plugin_spec (process->GetPythonOSPluginPath());
if (python_os_plugin_spec && python_os_plugin_spec.Exists())
{
STD_UNIQUE_PTR(OperatingSystemPython) os_ap (new OperatingSystemPython (process, python_os_plugin_spec));
std::unique_ptr<OperatingSystemPython> os_ap (new OperatingSystemPython (process, python_os_plugin_spec));
if (os_ap.get() && os_ap->IsValid())
return os_ap.release();
}