Skip to content

Commit fae724a

Browse files
committed
[clang] Fix namespace formatting
1 parent a23c980 commit fae724a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif()
1515
project(ReadoutCard
1616
VERSION 0.31.0
1717
DESCRIPTION "O2 ReadoutCard library"
18-
LANGUAGES CXX
18+
LANGUAGES C CXX
1919
)
2020

2121
# Documentation dir

include/ReadoutCard/NamespaceAlias.h

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@
1818

1919
// "fake" namespace forward decalaration so that
2020
// the `using` directive can find the namespace
21-
namespace o2 {}
21+
namespace o2
22+
{
23+
}
2224

23-
namespace AliceO2 {
24-
using namespace o2;
25+
namespace AliceO2
26+
{
27+
using namespace o2;
2528
}
2629

2730
#endif // O2_READOUTCARD_NAMESPACE_ALIAS_H_

0 commit comments

Comments
 (0)