Commit 2127457e authored by Igor Chorazewicz's avatar Igor Chorazewicz
Browse files

Mark allocation_flag constructor as explicit.

Having implicit constructor caused unexpected beahviour with
make_persistent_array. For make_persistent version designed to
work with sized arrays calling make_persistent<int[100]>(90) didn't
failed as expected. Instead, '90' was implicitly converted to
allocation_flag.
parent 05bf223b
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment