Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions deps/LIEF/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <cstdlib>
#include <algorithm>
#include <iterator>
#include <string>
Expand Down
13 changes: 7 additions & 6 deletions deps/LIEF/third-party/frozen/include/frozen/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "frozen/bits/version.h"

#include <utility>
#include <functional>

namespace frozen {

Expand Down Expand Up @@ -138,12 +139,12 @@ class map {
constexpr size_type max_size() const { return N; }

/* lookup */

template <class KeyType>
constexpr std::size_t count(KeyType const &key) const {
return bits::binary_search<N>(items_.begin(), key, less_than_);
}

template <class KeyType>
constexpr const_iterator find(KeyType const &key) const {
return map::find_impl(*this, key);
Expand All @@ -152,12 +153,12 @@ class map {
constexpr iterator find(KeyType const &key) {
return map::find_impl(*this, key);
}

template <class KeyType>
constexpr bool contains(KeyType const &key) const {
return this->find(key) != this->end();
}

template <class KeyType>
constexpr std::pair<const_iterator, const_iterator>
equal_range(KeyType const &key) const {
Expand All @@ -167,7 +168,7 @@ class map {
constexpr std::pair<iterator, iterator> equal_range(KeyType const &key) {
return equal_range_impl(*this, key);
}

template <class KeyType>
constexpr const_iterator lower_bound(KeyType const &key) const {
return lower_bound_impl(*this, key);
Expand All @@ -176,7 +177,7 @@ class map {
constexpr iterator lower_bound(KeyType const &key) {
return lower_bound_impl(*this, key);
}

template <class KeyType>
constexpr const_iterator upper_bound(KeyType const &key) const {
return upper_bound_impl(*this, key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include "base.h"

#ifndef FMT_MODULE
# include <cstdlib>
# include <cmath> // std::signbit
# include <cstddef> // std::byte
# include <cstdint> // uint32_t
Expand Down
1 change: 1 addition & 0 deletions deps/ncrypto/ncrypto.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "ncrypto.h"
#include <vector>
#include <openssl/asn1.h>
#include <openssl/bn.h>
#include <openssl/dh.h>
Expand Down
Loading