mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
clang-tidy: modernize-concat-nested-namespaces (NFC)
This commit is contained in:
@@ -41,16 +41,14 @@ IndexedHandleResource<HAL_SerialPortHandle, SerialPort, 4,
|
||||
HAL_HandleEnum::SerialPort>* serialPortHandles;
|
||||
} // namespace hal
|
||||
|
||||
namespace hal {
|
||||
namespace init {
|
||||
namespace hal::init {
|
||||
void InitializeSerialPort() {
|
||||
static IndexedHandleResource<HAL_SerialPortHandle, SerialPort, 4,
|
||||
HAL_HandleEnum::SerialPort>
|
||||
spH;
|
||||
serialPortHandles = &spH;
|
||||
}
|
||||
} // namespace init
|
||||
} // namespace hal
|
||||
} // namespace hal::init
|
||||
|
||||
using namespace hal;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user