projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
folly: build with -Wunused-parameter
[folly.git]
/
folly
/
detail
/
DiscriminatedPtrDetail.h
diff --git
a/folly/detail/DiscriminatedPtrDetail.h
b/folly/detail/DiscriminatedPtrDetail.h
index cb0b407c167be43cae23753a559f2a1416ed708f..d7215323b526e6604a09011330d9bed63c3d71f5 100644
(file)
--- a/
folly/detail/DiscriminatedPtrDetail.h
+++ b/
folly/detail/DiscriminatedPtrDetail.h
@@
-115,7
+115,7
@@
template <typename V, typename R, typename... Types> struct ApplyVisitor1;
template <typename V, typename R>
struct ApplyVisitor1<V, R> {
template <typename V, typename R>
struct ApplyVisitor1<V, R> {
- R operator()(size_t
index, V&& visitor, void* ptr
) const {
+ R operator()(size_t
/* index */, V&& /* visitor */, void* /* ptr */
) const {
CHECK(false); // NOTREACHED
}
};
CHECK(false); // NOTREACHED
}
};
@@
-133,7
+133,7
@@
template <typename V, typename R, typename... Types> struct ApplyConstVisitor1;
template <typename V, typename R>
struct ApplyConstVisitor1<V, R> {
template <typename V, typename R>
struct ApplyConstVisitor1<V, R> {
- R operator()(size_t
index, V&& visitor, void* ptr
) const {
+ R operator()(size_t
/* index */, V&& /* visitor */, void* /* ptr */
) const {
CHECK(false); // NOTREACHED
}
};
CHECK(false); // NOTREACHED
}
};