summaryrefslogtreecommitdiff
path: root/cpp/Element.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2013-08-22 00:04:48 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-22 00:04:48 +0000
commita2d51a0ff42ee5a269691e96b986492f5bc56e7a (patch)
treec6580a89625dcd4948f030d0ac523df0d1a4d127 /cpp/Element.cpp
parent3e37f99fb54af69a31381c68fffc5b613a865f10 (diff)
parent10913a5c37ba119bef335320d3e8be25212c05ad (diff)
Merge "Make error handling kill context activity. Add parameter validation." into klp-dev
Diffstat (limited to 'cpp/Element.cpp')
-rw-r--r--cpp/Element.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/Element.cpp b/cpp/Element.cpp
index df7b5a0f..d6855950 100644
--- a/cpp/Element.cpp
+++ b/cpp/Element.cpp
@@ -331,7 +331,7 @@ android::RSC::sp<const Element> Element::createPixel(android::RSC::sp<RS> rs, Rs
return new Element(id, rs, dt, dk, true, size);
}
-bool Element::isCompatible(android::RSC::sp<const Element>e) {
+bool Element::isCompatible(android::RSC::sp<const Element>e) const {
// Try strict BaseObj equality to start with.
if (this == e.get()) {
return true;