From 1c22b2cd98f89f0f6c7112d9cdfa35ea2375edd1 Mon Sep 17 00:00:00 2001 From: "mstarzinger@chromium.org" Date: Mon, 24 Jun 2013 09:34:56 +0000 Subject: [PATCH] Make a Persistent ctor take const Persistent& instead of Persistent&. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit BUG= R=mstarzinger@chromium.org, svenpanne@chromium.org Review URL: https://codereview.chromium.org/17580010 Patch from Marja Hölttä . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15278 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- include/v8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/v8.h b/include/v8.h index ccb2a18..2d21355 100644 --- a/include/v8.h +++ b/include/v8.h @@ -509,7 +509,7 @@ template class Persistent // NOLINT : val_(New(isolate, *that)) { } template V8_INLINE(Persistent(Isolate* isolate, - Persistent& that)) // NOLINT + const Persistent& that)) // NOLINT : val_(New(isolate, *that)) { } #else -- 2.7.4