Skip to content
This repository has been archived by the owner on Jan 2, 2022. It is now read-only.

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtomschroeder committed Aug 17, 2016
1 parent c0093d4 commit 42d5318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/lambda/stream/stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 38,7 @@ class FunctionStream : public Stream {
F f;

public:
using Type = typename std::result_of_t<decltype(std::declval<F>)>::value_type; // Maybe::Type
using Type = typename decltype(f())::value_type; // Maybe::Type

explicit FunctionStream(F &&f) : f(f) {}

Expand Down

0 comments on commit 42d5318

Please sign in to comment.