summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot2018-02-06 02:22:02 -0600
committerandroid-build-team Robot2018-02-06 02:22:02 -0600
commita95c9083a5b8cd5bb7990dab57c3d318f003c647 (patch)
tree7fa2a0d5e3a6c2a2b591769bacc81122bf3b5923
parente03c5168e8b168d48c52a0e2e8ffcd2a54ca74c6 (diff)
parent8351758ab98142da8c80a84eac9baa72d3ac7318 (diff)
downloadplatform-system-libvintf-a95c9083a5b8cd5bb7990dab57c3d318f003c647.tar.gz
platform-system-libvintf-a95c9083a5b8cd5bb7990dab57c3d318f003c647.tar.xz
platform-system-libvintf-a95c9083a5b8cd5bb7990dab57c3d318f003c647.zip
Snap for 4587185 from 8351758ab98142da8c80a84eac9baa72d3ac7318 to pi-release
Change-Id: I118124dd73a04480547806d850abf5c80c2bf5b4
-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 {