Skip to content

Commit

Permalink
Include type_traits to get declaration of std::is_trivial_v.
Browse files Browse the repository at this point in the history
  • Loading branch information
toregge committed Nov 4, 2024
1 parent 0070627 commit 7afae74
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vespalib/src/vespa/vespalib/util/memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

#pragma once

#include <memory>
#include <cstring>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <type_traits>

/// Macro to give you number of elements in a defined array.
#define VESPA_NELEMS(a) (sizeof(a)/sizeof(a[0]))
Expand Down

0 comments on commit 7afae74

Please sign in to comment.