/*
- * Copyright 2017 Facebook, Inc.
+ * Copyright 2011-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
explicit csl_iterator(NodeT* node = nullptr) : node_(node) {}
template <typename OtherVal, typename OtherNode>
- csl_iterator(const csl_iterator<OtherVal, OtherNode> &other,
- typename std::enable_if<std::is_convertible<OtherVal, ValT>::value>::type*
- = 0) : node_(other.node_) {}
+ csl_iterator(
+ const csl_iterator<OtherVal, OtherNode>& other,
+ typename std::enable_if<
+ std::is_convertible<OtherVal, ValT>::value>::type* = nullptr)
+ : node_(other.node_) {}
size_t nodeSize() const {
return node_ == nullptr ? 0 :