Commit f629397b authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Fix ambiguous ctor call

parent 12aacfe9
...@@ -24,7 +24,7 @@ class span ...@@ -24,7 +24,7 @@ class span
using iterator = pointer; using iterator = pointer;
using const_iterator = pointer; using const_iterator = pointer;
constexpr span() : span(nullptr, 0) {} constexpr span() : span(nullptr, size_type{0}) {}
constexpr span(pointer first, size_type count) : ptr_(first), size_(count) {} constexpr span(pointer first, size_type count) : ptr_(first), size_(count) {}
......
Markdown is supported
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