summaryrefslogtreecommitdiff
path: root/cmds/idmap2/libidmap2/PolicyUtils.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@volvocars.com>2020-06-04 20:48:11 +0200
committerTodd Kennedy <toddke@google.com>2020-06-10 09:11:18 -0700
commitc4799eba53045c8832d6f04cff0e5dce2108383c (patch)
tree2f712a28d650c11fbda1d475956ad54e8ab99557 /cmds/idmap2/libidmap2/PolicyUtils.cpp
parent1f9a5ed4a845b5c8468648224f2b872ec75463e8 (diff)
idmap2: fix cpplint warnings
Fix the following to make cpplint happy again: - Use C++ style casts - Rename a few header guards - Add missing includes of standard C++ headers - Add comments to the end of namespaces Also, for consistency, always use "..." instead of <...> for local include files, i.e. #include "idmap2/.*" Test: cmds/idmap2/static-checks.sh Change-Id: Ie735a36d562d1fc51b61f1f0f45aec0d160f602d
Diffstat (limited to 'cmds/idmap2/libidmap2/PolicyUtils.cpp')
-rw-r--r--cmds/idmap2/libidmap2/PolicyUtils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/idmap2/libidmap2/PolicyUtils.cpp b/cmds/idmap2/libidmap2/PolicyUtils.cpp
index fc5182af61c1..4e3f54d2583e 100644
--- a/cmds/idmap2/libidmap2/PolicyUtils.cpp
+++ b/cmds/idmap2/libidmap2/PolicyUtils.cpp
@@ -17,6 +17,8 @@
#include "include/idmap2/PolicyUtils.h"
#include <sstream>
+#include <string>
+#include <vector>
#include "android-base/strings.h"
#include "idmap2/Policies.h"