X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=folly%2FConcurrentSkipList-inl.h;h=48e3f63f3d86b107f70ffeba4caefaac98c837c9;hb=d638ae7a87538e30014a37ba8941f0cec51198a0;hp=227a3325071df932d3154c4c5b1d6f172388b5a9;hpb=ce64f0f685111ac24c7a321ea56d0c3524621df1;p=folly.git diff --git a/folly/ConcurrentSkipList-inl.h b/folly/ConcurrentSkipList-inl.h index 227a3325..48e3f63f 100644 --- a/folly/ConcurrentSkipList-inl.h +++ b/folly/ConcurrentSkipList-inl.h @@ -1,5 +1,5 @@ /* - * Copyright 2014 Facebook, Inc. + * Copyright 2015 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -33,7 +33,7 @@ #include #include -#include +#include #include namespace folly { namespace detail { @@ -73,7 +73,7 @@ class SkipListNode : private boost::noncopyable { template static constexpr bool destroyIsNoOp() { return IsArenaAllocator::value && - boost::has_trivial_destructor>::value; + boost::has_trivial_destructor::value; } // copy the head node to a new head node assuming lock acquired @@ -236,6 +236,8 @@ class NodeRecycler