summaryrefslogtreecommitdiff
path: root/cpp/Element.cpp
diff options
context:
space:
mode:
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;