diff options
author | Mathias Stearn <mathias@10gen.com> | 2017-08-01 15:15:29 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2017-08-16 16:28:02 -0400 |
commit | cdf7aacb213c99d3ce620761ff46b030bbd7732d (patch) | |
tree | cdc32bf8c2899f88b2b3ea99c89e76bbc314f4ab /src/mongo/db/repl/master_slave.h | |
parent | 5a1b0681dcee481f631dc647000b895e20cc7cfd (diff) | |
download | mongo-cdf7aacb213c99d3ce620761ff46b030bbd7732d.tar.gz |
SERVER-30580 Make argument order consistently code then message
Diffstat (limited to 'src/mongo/db/repl/master_slave.h')
-rw-r--r-- | src/mongo/db/repl/master_slave.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/master_slave.h b/src/mongo/db/repl/master_slave.h index 627223efd16..e404a3fb0ec 100644 --- a/src/mongo/db/repl/master_slave.h +++ b/src/mongo/db/repl/master_slave.h @@ -61,7 +61,7 @@ extern const char* replInfo; /* A replication exception */ class SyncException : public DBException { public: - SyncException() : DBException("sync exception", 10001) {} + SyncException() : DBException(10001, "sync exception") {} }; /* A Source is a source from which we can pull (replicate) data. |