Skip to content

Commit

Permalink
Fixing namespace naming to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
anush-apple committed Mar 15, 2024
1 parent d78e759 commit a998d53
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRBaseDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
using chip::Optional;
using chip::SessionHandle;
using chip::Messaging::ExchangeManager;
using namespace chip::Metrics::DarwinFramework;
using namespace chip::Tracing::DarwinFramework;

NSString * const MTRAttributePathKey = @"attributePath";
NSString * const MTRCommandPathKey = @"commandPath";
Expand Down
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDeviceController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
typedef id (^SyncWorkQueueBlockWithReturnValue)(void);
typedef BOOL (^SyncWorkQueueBlockWithBoolReturnValue)(void);

using namespace chip::Metrics::DarwinFramework;
using namespace chip::Tracing::DarwinFramework;

@implementation MTRDeviceController {
// Atomic because it can be touched from multiple threads.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#import "MTRMetricKeys.h"
#import "MTRMetricsCollector.h"

using namespace chip::Metrics::DarwinFramework;
using namespace chip::Tracing::DarwinFramework;

MTRDeviceControllerDelegateBridge::MTRDeviceControllerDelegateBridge(void)
: mDelegate(nil)
Expand Down
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRMetricKeys.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <tracing/metric_event.h>

namespace chip {
namespace Metrics {
namespace Tracing {
namespace DarwinFramework {

constexpr Tracing::MetricKey kMetricDeviceCommissioning = "dwnfw_device_commissioning";
Expand Down

0 comments on commit a998d53

Please sign in to comment.