summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYifan Hong2018-02-05 22:32:01 -0600
committerandroid-build-merger2018-02-05 22:32:01 -0600
commit8351758ab98142da8c80a84eac9baa72d3ac7318 (patch)
tree7fa2a0d5e3a6c2a2b591769bacc81122bf3b5923
parent8dc9be49a0b77b3c164c47eb6c8d88c57b65deed (diff)
parent3954edd2b38344a059e0263b7cd284b52b706f40 (diff)
downloadplatform-system-libvintf-8351758ab98142da8c80a84eac9baa72d3ac7318.tar.gz
platform-system-libvintf-8351758ab98142da8c80a84eac9baa72d3ac7318.tar.xz
platform-system-libvintf-8351758ab98142da8c80a84eac9baa72d3ac7318.zip
AssembleVintf: fix comments for getFlagUnset. am: 0f7f728a86 am: 5d7dfd0ebe
am: 3954edd2b3 Change-Id: Ib4e7d136ea8684d28c9ca5a302d03c6cec16dfee
-rw-r--r--AssembleVintf.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/AssembleVintf.cpp b/AssembleVintf.cpp
index 8951471..07ce9f8 100644
--- a/AssembleVintf.cpp
+++ b/AssembleVintf.cpp
@@ -105,7 +105,8 @@ class AssembleVintfImpl : public AssembleVintf {
105 } 105 }
106 106
107 /** 107 /**
108 * Set *out to environment variable if *out is not a dummy value (i.e. default constructed). 108 * Set *out to environment variable only if *out is a dummy value (i.e. default constructed).
109 * Return true if *out is set to environment variable, otherwise false.
109 */ 110 */
110 template <typename T> 111 template <typename T>
111 bool getFlagIfUnset(const std::string& envKey, T* out, bool log = true) const { 112 bool getFlagIfUnset(const std::string& envKey, T* out, bool log = true) const {