projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a20d7e
)
[RPC] Add const qualifier to MemberFnWrapper to make buildbots happy.
author
Lang Hames
<lhames@gmail.com>
Fri, 11 Nov 2016 22:50:16 +0000
(22:50 +0000)
committer
Lang Hames
<lhames@gmail.com>
Fri, 11 Nov 2016 22:50:16 +0000
(22:50 +0000)
This is a temporary fix: The right solution is to make sure addHandler can
support mutable lambdas. I'll add that in a follow-up patch.
llvm-svn: 286661
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
index
2ff27ef
..
043fb5f
100644
(file)
--- a/
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
+++ b/
llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
@@
-527,7
+527,7
@@
public:
using MethodT = RetT(ClassT::*)(ArgTs...);
MemberFnWrapper(ClassT &Instance, MethodT Method)
: Instance(Instance), Method(Method) {}
- RetT operator()(ArgTs &&... Args) {
+ RetT operator()(ArgTs &&... Args)
const
{
return (Instance.*Method)(std::move(Args)...);
}
private: