projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3739237
)
Removing test code from `first`
author
Tom Jackson
<tjackson@fb.com>
Fri, 7 Dec 2012 22:32:25 +0000
(14:32 -0800)
committer
Jordan DeLong
<jdelong@fb.com>
Sun, 16 Dec 2012 22:49:30 +0000
(14:49 -0800)
Summary: TSIA
Test Plan: Unit tests
Reviewed By: kedarb@fb.com
FB internal diff:
D652180
folly/experimental/Gen-inl.h
patch
|
blob
|
history
diff --git
a/folly/experimental/Gen-inl.h
b/folly/experimental/Gen-inl.h
index 2721a63983a7e304508073259c77052653a3cbb5..6473b25435425ee6f33fb54d665370f710469790 100644
(file)
--- a/
folly/experimental/Gen-inl.h
+++ b/
folly/experimental/Gen-inl.h
@@
-1011,7
+1011,6
@@
class First : public Operator<First> {
class Value,
class StorageType = typename std::decay<Value>::type>
StorageType compose(const GenImpl<Value, Source>& source) const {
- static_assert(std::is_same<StorageType, int>::value, "wtf");
Optional<StorageType> accum;
source | [&](Value v) -> bool {
accum = std::forward<Value>(v);