summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
index 3556e6b1eef..33ac997c09e 100644
--- a/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
+++ b/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h
@@ -35,9 +35,9 @@ namespace remote {
template <typename T>
class RPCFunctionIdTraits {
public:
- constexpr static const T InvalidId = static_cast<T>(0);
- constexpr static const T ResponseId = static_cast<T>(1);
- constexpr static const T FirstValidId = static_cast<T>(2);
+ static constexpr T InvalidId = static_cast<T>(0);
+ static constexpr T ResponseId = static_cast<T>(1);
+ static constexpr T FirstValidId = static_cast<T>(2);
};
// Base class containing utilities that require partial specialization.
@@ -539,7 +539,7 @@ public:
}
return std::error_code();
- };
+ }
// Default handler for 'other' (non-response) functions when waiting for a
// result from the channel.
OpenPOWER on IntegriCloud