Skip to content

Commit

Permalink
std::is_pod<> was deprecated in C++20.
Browse files Browse the repository at this point in the history
Change-Id: I52b1b96ee49c41db201a71a58a2bb5a51d7c0e10
Reviewed-on: https://code-review.googlesource.com/c/re2/+/49590
Reviewed-by: Paul Wankadia <[email protected]>
  • Loading branch information
junyer committed Dec 14, 2019
1 parent 6a86f6b commit 7470f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion re2/pod_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace re2 {
template <typename T>
class PODArray {
public:
static_assert(std::is_pod<T>::value,
static_assert(std::is_trivial<T>::value && std::is_standard_layout<T>::value,
"T must be POD");

PODArray()
Expand Down

0 comments on commit 7470f4d

Please sign in to comment.