Skip to content

Commit cc05955

Browse files
author
Michael Fero
committed
Fixing namespacing for core driver
1 parent 09356d0 commit cc05955

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

cpp-driver/gtests/src/unit/tests/test_protocol_version.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include "cassandra.h"
2222
#include "protocol.hpp"
2323

24-
using cass::ProtocolVersion;
24+
using datastax::internal::core::ProtocolVersion;
2525

2626
class ProtocolVersionUnitTest : public Unit {};
2727

cpp-driver/src/monitor_reporting.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616

1717
#include "monitor_reporting.hpp"
1818

19+
using namespace datastax;
1920
using namespace datastax::internal::core;
2021

22+
namespace datastax { namespace internal { namespace core {
23+
2124
MonitorReporting* create_monitor_reporting(const String& client_id, const String& session_id,
2225
const Config& config) {
2326
return new NopMonitorReporting();
2427
}
28+
29+
}}} // namespace datastax::internal::core

cpp-driver/src/protocol.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
#define DSE_PROTOCOL_VERSION_BIT 0x40
2222
#define DSE_PROTOCOL_VERSION_MASK 0x3F
2323

24+
using namespace datastax;
2425
using namespace datastax::internal::core;
2526

2627
ProtocolVersion::ProtocolVersion()

0 commit comments

Comments
 (0)