Skip to content

Commit 5196bc6

Browse files
authored
Merge pull request #1705 from evoskuil/master
Change projection<>() to use explicit conversion.
2 parents 665d799 + 312b7b0 commit 5196bc6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

include/bitcoin/system/impl/data/collection.ipp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,8 @@ inline To projection(const From& source) NOEXCEPT
7373

7474
std::transform(std::begin(source), std::end(source), std::begin(out),
7575
[](const typename From::value_type& element) NOEXCEPT
76-
-> typename To::value_type
7776
{
78-
return { element };
77+
return typename To::value_type{ element };
7978
});
8079

8180
return out;

0 commit comments

Comments
 (0)