summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/lib/Gauge.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-04-18 22:45:39 +0000
committerGreg Clayton <gclayton@apple.com>2013-04-18 22:45:39 +0000
commit7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab (patch)
tree662d44a97baffe8778f555b43203ad0257c71808 /lldb/tools/lldb-perf/lib/Gauge.cpp
parent9f7a221fdcaf250db64b441558647384785cde5e (diff)
downloadbcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.tar.gz
bcm5719-llvm-7b0992d9cd982f4e43ca1bd2c3eaf467e7600cab.zip
After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11.
llvm-svn: 179805
Diffstat (limited to 'lldb/tools/lldb-perf/lib/Gauge.cpp')
-rw-r--r--lldb/tools/lldb-perf/lib/Gauge.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-perf/lib/Gauge.cpp b/lldb/tools/lldb-perf/lib/Gauge.cpp
index 6ed12905e1b..4c4593b3b29 100644
--- a/lldb/tools/lldb-perf/lib/Gauge.cpp
+++ b/lldb/tools/lldb-perf/lib/Gauge.cpp
@@ -16,7 +16,7 @@ lldb_perf::GetResult (const char *description, double value)
{
if (description && description[0])
{
- STD_UNIQUE_PTR(Results::Dictionary) value_dict_ap (new Results::Dictionary ());
+ std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ());
value_dict_ap->AddString("description", NULL, description);
value_dict_ap->AddDouble("value", NULL, value);
return Results::ResultSP (value_dict_ap.release());
@@ -30,7 +30,7 @@ lldb_perf::GetResult (const char *description, uint64_t value)
{
if (description && description[0])
{
- STD_UNIQUE_PTR(Results::Dictionary) value_dict_ap (new Results::Dictionary ());
+ std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ());
value_dict_ap->AddString("description", NULL, description);
value_dict_ap->AddUnsigned("value", NULL, value);
return Results::ResultSP (value_dict_ap.release());
@@ -44,7 +44,7 @@ lldb_perf::GetResult (const char *description, std::string value)
{
if (description && description[0])
{
- STD_UNIQUE_PTR(Results::Dictionary) value_dict_ap (new Results::Dictionary ());
+ std::unique_ptr<Results::Dictionary> value_dict_ap (new Results::Dictionary ());
value_dict_ap->AddString("description", NULL, description);
value_dict_ap->AddString("value", NULL, value.c_str());
return Results::ResultSP (value_dict_ap.release());
OpenPOWER on IntegriCloud