diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 00:22:50 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-06-20 10:56:02 -0400 |
commit | 9c2ed42daa8fbbef4a919c21ec564e2db55e8d60 (patch) | |
tree | 3814f79c10d7b490948d8cb7b112ac1dd41ceff1 /src/mongo/rpc/factory.h | |
parent | 01965cf52bce6976637ecb8f4a622aeb05ab256a (diff) | |
download | mongo-9c2ed42daa8fbbef4a919c21ec564e2db55e8d60.tar.gz |
SERVER-18579: Clang-Format - reformat code, no comment reflow
Diffstat (limited to 'src/mongo/rpc/factory.h')
-rw-r--r-- | src/mongo/rpc/factory.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mongo/rpc/factory.h b/src/mongo/rpc/factory.h index 93398d86e50..7de92664b69 100644 --- a/src/mongo/rpc/factory.h +++ b/src/mongo/rpc/factory.h @@ -38,23 +38,23 @@ */ namespace mongo { - class Message; +class Message; namespace rpc { - class ReplyInterface; - class RequestBuilderInterface; - - /** - * Returns the appropriate concrete RequestBuilder. Throws if one cannot be chosen. - */ - std::unique_ptr<RequestBuilderInterface> makeRequestBuilder(ProtocolSet clientProtos, - ProtocolSet serverProtos); - - /** - * Returns the appropriate concrete Reply according to the contents of the message. - * Throws if one cannot be chosen. - */ - std::unique_ptr<ReplyInterface> makeReply(const Message* unownedMessage); +class ReplyInterface; +class RequestBuilderInterface; + +/** + * Returns the appropriate concrete RequestBuilder. Throws if one cannot be chosen. + */ +std::unique_ptr<RequestBuilderInterface> makeRequestBuilder(ProtocolSet clientProtos, + ProtocolSet serverProtos); + +/** + * Returns the appropriate concrete Reply according to the contents of the message. + * Throws if one cannot be chosen. + */ +std::unique_ptr<ReplyInterface> makeReply(const Message* unownedMessage); } // namespace rpc } // namespace mongo |