From 2c43cff01d1271be451671567955158629b23670 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Thu, 26 Mar 2015 19:18:36 -0700 Subject: Refactor the code. The object hierarchy was confusing and convoluted. This removes a lot of unnecessary code, and consolidates the BacktraceCurrent and BacktraceThread code into BacktraceCurrent. Change-Id: I01c8407d493712a48169df49dd3ff46db4a7c3ae --- libbacktrace/UnwindMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbacktrace/UnwindMap.cpp') diff --git a/libbacktrace/UnwindMap.cpp b/libbacktrace/UnwindMap.cpp index 284a5615b..fa59d0789 100644 --- a/libbacktrace/UnwindMap.cpp +++ b/libbacktrace/UnwindMap.cpp @@ -14,7 +14,7 @@ * limitations under the License. */ -#include +#include #include #include #include @@ -142,7 +142,7 @@ BacktraceMap* BacktraceMap::Create(pid_t pid, bool uncached) { } if (!map->Build()) { delete map; - return NULL; + return nullptr; } return map; } -- cgit v1.2.3