From 29bc87d102b9e36c1e15385756c9fa9a214f3503 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Fri, 17 Apr 2015 12:55:39 -0700 Subject: Add nonstd::unique_ptr as a workaround until std::unique_ptr is allowed. This is a copy of breakpad's standalone scoped_ptr, which has been renamed to nonstd::unique_ptr, and from which more complicated classes have been removed. The reset() method has also been tweaked to more closely match c++11, and an implicit conversion to bool has been added. BUG=https://code.google.com/p/pdfium/issues/detail?id=55 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1091283002 --- third_party/third_party.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'third_party/third_party.gyp') diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp index d54905c022..c106f1e314 100644 --- a/third_party/third_party.gyp +++ b/third_party/third_party.gyp @@ -66,6 +66,7 @@ 'sources': [ 'base/logging.h', 'base/macros.h', + 'base/nonstd_unique_ptr.h' 'base/template_util.h', 'base/numerics/safe_conversions.h', 'base/numerics/safe_conversions_impl.h', -- cgit v1.2.3