projects
/
folly.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix SimplerObservable build with -Werror=unused-local-typedefs
[folly.git]
/
folly
/
Memory.h
diff --git
a/folly/Memory.h
b/folly/Memory.h
index 81ac176cb11a3494923ff5f378844472f0f1f926..62490f90b80abf2f1ee8c1d842880d636b4e20cc 100644
(file)
--- a/
folly/Memory.h
+++ b/
folly/Memory.h
@@
-88,7
+88,9
@@
make_unique(Args&&...) = delete;
template <typename T, void(*f)(T*)>
struct static_function_deleter {
- void operator()(T* t) { f(t); }
+ void operator()(T* t) const {
+ f(t);
+ }
};
/**