Skip to content

Commit

Permalink
[Orc][RPC] Specialize RPCTypeName and SerializationTraits in the righ…
Browse files Browse the repository at this point in the history
…t namespace.

llvm-svn: 290226
  • Loading branch information
lhames committed Dec 21, 2016
1 parent 1f5be4d commit bde7a3f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp
Expand Up @@ -61,13 +61,13 @@ class QueueChannel : public RawByteChannel {
class RPCFoo {};

template <>
class RPCTypeName<RPCFoo> {
class llvm::orc::rpc::RPCTypeName<RPCFoo> {
public:
static const char* getName() { return "RPCFoo"; }
};

template <>
class SerializationTraits<QueueChannel, RPCFoo, RPCFoo> {
class llvm::orc::rpc::SerializationTraits<QueueChannel, RPCFoo, RPCFoo> {
public:
static Error serialize(QueueChannel&, const RPCFoo&) {
return Error::success();
Expand All @@ -81,7 +81,7 @@ class SerializationTraits<QueueChannel, RPCFoo, RPCFoo> {
class RPCBar {};

template <>
class SerializationTraits<QueueChannel, RPCFoo, RPCBar> {
class llvm::orc::rpc::SerializationTraits<QueueChannel, RPCFoo, RPCBar> {
public:
static Error serialize(QueueChannel&, const RPCBar&) {
return Error::success();
Expand Down

0 comments on commit bde7a3f

Please sign in to comment.