https://codereview.chromium.org/667703002/diff/1/src/interface.h
File src/interface.h (right):

https://codereview.chromium.org/667703002/diff/1/src/interface.h#newcode202
src/interface.h:202: static base::LazyInstance<Interface*,
ValueCreate>::type value_interface_;
On 2014/10/21 04:09:05, Benedikt Meurer wrote:
Move the statics to the .cc file and hide them in namespace { }, i.e.

namespace {

base::LayzInstance<Interface*, Interface::ValueCreate>::type
kValueInterface =
LAZY_INSTANCE_INITIALIZER;


base::LayzInstance<Interface*, Interface::ValueCreate>::type
kConstInterface =
LAZY_INSTANCE_INITIALIZER;

}

Done. Also changed them to do in-place construction.

https://codereview.chromium.org/667703002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to