Skip to content

Commit

Permalink
Fix regression in C++98 compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenKaufmann committed Oct 23, 2024
1 parent ef8d08e commit 031323a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ else()
set(CLASP_DEFINE_ATOMIC "
template <class T>
struct Plain {
explicit Plain(T v = T()) : val_(v) {}
T operator=(T nv) { return (val_ = nv); }
operator T () const { return val_; }
operator T&() { return val_; }
Expand Down

0 comments on commit 031323a

Please sign in to comment.