Skip to content

Commit 6ec09fa

Browse files
committed
common: logprovider: update logprovider namespace and header guard
This patch updates the logprovider namespace and include guard. Signed-off-by: Mykhailo Lohvynenko <mykhailo_lohvynenko@epam.com>
1 parent 3a48f61 commit 6ec09fa

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

include/aos/common/logprovider/logprovider.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
#ifndef AOS_LOGPROVIDER_HPP_
8-
#define AOS_LOGPROVIDER_HPP_
7+
#ifndef AOS_LOGPROVIDER_LOGPROVIDER_HPP_
8+
#define AOS_LOGPROVIDER_LOGPROVIDER_HPP_
99

1010
#include "aos/common/cloudprotocol/log.hpp"
1111

12-
namespace aos::sm::logprovider {
12+
namespace aos::logprovider {
1313

14-
/** @addtogroup sm Service Manager
14+
/** @addtogroup common Common
1515
* @{
1616
*/
1717

@@ -87,6 +87,6 @@ class LogProviderItf {
8787

8888
/** @}*/
8989

90-
} // namespace aos::sm::logprovider
90+
} // namespace aos::logprovider
9191

9292
#endif

tests/include/mocks/logprovidermock.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include "aos/common/logprovider/logprovider.hpp"
1313

14-
namespace aos::sm::logprovider {
14+
namespace aos::logprovider {
1515

1616
/**
1717
* Log observer mock.
@@ -33,6 +33,6 @@ class LogProviderMock : public LogProviderItf {
3333
MOCK_METHOD(Error, Unsubscribe, (LogObserverItf & observer), (override));
3434
};
3535

36-
} // namespace aos::sm::logprovider
36+
} // namespace aos::logprovider
3737

3838
#endif

0 commit comments

Comments
 (0)