commit | 55f21936e9c91d1515ede4076ed097cee5f4a15c | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Dec 20 09:20:24 2019 -0800 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Fri Dec 20 09:20:24 2019 -0800 |
tree | eec84865380837bc474fff43465417d8b058c583 | |
parent | 2a34cdb7ce2cbc84c49f5c83f370e54f1628ddfa [diff] [blame] |
Migrate CAN bus HAL to nested namespaces Test: it builds Change-Id: I83d9ef4f1fff1585e6487c95f09b55b1aa5b3e63
diff --git a/automotive/can/1.0/default/libnetdevice/NetlinkSocket.cpp b/automotive/can/1.0/default/libnetdevice/NetlinkSocket.cpp index 0514764..6a7f506 100644 --- a/automotive/can/1.0/default/libnetdevice/NetlinkSocket.cpp +++ b/automotive/can/1.0/default/libnetdevice/NetlinkSocket.cpp
@@ -18,8 +18,7 @@ #include <android-base/logging.h> -namespace android { -namespace netdevice { +namespace android::netdevice { NetlinkSocket::NetlinkSocket(int protocol) { mFd.reset(socket(AF_NETLINK, SOCK_RAW, protocol)); @@ -110,5 +109,4 @@ return false; } -} // namespace netdevice -} // namespace android +} // namespace android::netdevice