Skip to content

Commit

Permalink
Fix: insert requires value as shared
Browse files Browse the repository at this point in the history
  • Loading branch information
kubo39 committed May 19, 2024
1 parent b1b181d commit 0231eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/sievecache/package.d
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ struct SieveCache(K, V) if (isEqualityComparable!K && isKeyableType!K)
}

/// Ditto.
bool insert(K key, V value) shared
bool insert(K key, shared V value) shared
{
synchronized
{
Expand Down

0 comments on commit 0231eec

Please sign in to comment.