summaryrefslogtreecommitdiffstats
path: root/base/include/android-base/parsenetaddress.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/include/android-base/parsenetaddress.h')
-rw-r--r--base/include/android-base/parsenetaddress.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/base/include/android-base/parsenetaddress.h b/base/include/android-base/parsenetaddress.h
index b4ac0256b..47f8b5f6e 100644
--- a/base/include/android-base/parsenetaddress.h
+++ b/base/include/android-base/parsenetaddress.h
@@ -14,8 +14,7 @@
* limitations under the License.
*/
-#ifndef ANDROID_BASE_PARSENETADDRESS_H
-#define ANDROID_BASE_PARSENETADDRESS_H
+#pragma once
#include <string>
@@ -34,5 +33,3 @@ bool ParseNetAddress(const std::string& address, std::string* host, int* port,
} // namespace base
} // namespace android
-
-#endif // ANDROID_BASE_PARSENETADDRESS_H