Skip to content
Snippets Groups Projects
Commit 2286e78f authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Concurrent.AggregateState: Protect create().

parent 6a692a5c
No related branches found
No related tags found
No related merge requests found
......@@ -715,7 +715,7 @@ class AggregateState
final function(mixed, mixed, mixed ... : mixed) fold_fun;
final array(mixed) extra;
private void create(Promise p)
protected void create(Promise p)
{
if (p->_materialised || p->_materialised++)
error("Cannot materialise a Promise more than once.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment