From: mstarzinger@chromium.org Date: Mon, 24 Jun 2013 09:34:56 +0000 (+0000) Subject: Make a Persistent ctor take const Persistent& instead of Persistent&. X-Git-Tag: upstream/4.7.83~13721 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c22b2cd98f89f0f6c7112d9cdfa35ea2375edd1;p=platform%2Fupstream%2Fv8.git Make a Persistent ctor take const Persistent& instead of Persistent&. 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 --- 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