Skip to content

Commit

Permalink
Add #include <compare> for defaulted spaceship operators in C++20
Browse files Browse the repository at this point in the history
  • Loading branch information
tkittel committed Dec 2, 2020
1 parent 1e1eb9c commit 476e94c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ncrystal_core/include/NCrystal/NCDefs.hh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
#include <set>
#include <mutex>
#include <atomic>
#if __cplusplus >= 202002L
# include <compare>
#endif

#ifndef ncrystal_api_h
# include "NCrystal/ncapi.h"
Expand Down

0 comments on commit 476e94c

Please sign in to comment.