Skip to content

Commit 1ae8696

Browse files
committed
Rename forget() -> invalidate()
1 parent f24964f commit 1ae8696

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

include/openPMD/auxiliary/Future.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class DeferredComputation
9595

9696
/** Discard the computation without executing it
9797
*/
98-
void forget() &&;
98+
void invalidate() &&;
9999

100100
/** Check if the computation is valid
101101
*

src/auxiliary/Future.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ auto DeferredComputation<T>::operator()() -> T
119119
}
120120

121121
template <typename T>
122-
void DeferredComputation<T>::forget() &&
122+
void DeferredComputation<T>::invalidate() &&
123123
{
124124
std::visit(
125125
auxiliary::overloaded{

0 commit comments

Comments
 (0)