only style changes

This commit is contained in:
aleks-f
2013-03-17 13:34:36 -05:00
parent 95e713045e
commit 3d16ce00a2
35 changed files with 190 additions and 111 deletions

View File

@@ -34,19 +34,21 @@
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
#include "Poco/MongoDB/ReplicaSet.h"
#include "Poco/MongoDB/QueryRequest.h"
#include "Poco/MongoDB/ResponseMessage.h"
namespace Poco
{
namespace MongoDB
{
namespace Poco {
namespace MongoDB {
ReplicaSet::ReplicaSet(const std::vector<Net::SocketAddress> &addresses) : _addresses(addresses)
{
}
ReplicaSet::~ReplicaSet()
{
}
@@ -68,6 +70,7 @@ Connection::Ptr ReplicaSet::findMaster()
return master;
}
Connection::Ptr ReplicaSet::isMaster(const Net::SocketAddress& address)
{
Connection::Ptr conn = new Connection();