aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/include/zenstore/cas.h4
-rw-r--r--zenstore/include/zenstore/caslog.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/zenstore/include/zenstore/cas.h b/zenstore/include/zenstore/cas.h
index 9371e4de0..1823fd630 100644
--- a/zenstore/include/zenstore/cas.h
+++ b/zenstore/include/zenstore/cas.h
@@ -49,7 +49,7 @@ public:
[[nodiscard]] inline bool IsEmpty() const { return m_ChunkSet.empty(); }
[[nodiscard]] inline size_t GetSize() const { return m_ChunkSet.size(); }
- inline void FilterChunks(std::span<const IoHash> Candidates, std::invocable<const IoHash&> auto MatchFunc)
+ inline void FilterChunks(std::span<const IoHash> Candidates, Invocable<const IoHash&> auto MatchFunc)
{
for (const IoHash& Candidate : Candidates)
{
@@ -60,7 +60,7 @@ public:
}
}
- inline void FilterChunks(std::span<const IoHash> Candidates, std::invocable<const IoHash&, bool> auto MatchFunc)
+ inline void FilterChunks(std::span<const IoHash> Candidates, Invocable<const IoHash&, bool> auto MatchFunc)
{
for (const IoHash& Candidate : Candidates)
{
diff --git a/zenstore/include/zenstore/caslog.h b/zenstore/include/zenstore/caslog.h
index 1ecb721f7..1bd11800c 100644
--- a/zenstore/include/zenstore/caslog.h
+++ b/zenstore/include/zenstore/caslog.h
@@ -66,7 +66,7 @@ public:
// This should be called before the Replay() is called to do some basic sanity checking
bool Initialize() { return true; }
- void Replay(std::invocable<const T&> auto Handler)
+ void Replay(Invocable<const T&> auto Handler)
{
CasLogFile::Replay([&](const void* VoidPtr) {
const T& Record = *reinterpret_cast<const T*>(VoidPtr);