summaryrefslogtreecommitdiff
path: root/rsCppUtils.h
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2015-04-03 17:44:55 -0700
committerMiao Wang <miaowang@google.com>2015-04-13 17:11:08 -0700
commitbc10dff26207bb8c02051b28326bb134a8f28eb3 (patch)
tree166685cd4ef0a8eb4bb9e15c9e76284b1c607481 /rsCppUtils.h
parent893754fc6016d6c144788ec94a7db55d1061ef18 (diff)
downloadrs-bc10dff26207bb8c02051b28326bb134a8f28eb3.tar.gz
remove STL from rs C++ public interface. Nuke stlport.
Change-Id: Ida273c1cfa21c4db51ae41a4c42746d9d828f292
Diffstat (limited to 'rsCppUtils.h')
-rw-r--r--rsCppUtils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/rsCppUtils.h b/rsCppUtils.h
index 7377a44c..df1e864b 100644
--- a/rsCppUtils.h
+++ b/rsCppUtils.h
@@ -134,11 +134,11 @@ namespace android {
}
bool* editArray() {
- return (bool*)(this->begin());
+ return (bool*)(&*this->begin());
}
const bool* array() {
- return (const bool*)(this->begin());
+ return (const bool*)(&*this->begin());
}
};