summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_clippath.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_clippath.h')
-rw-r--r--core/fpdfapi/page/cpdf_clippath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_clippath.h b/core/fpdfapi/page/cpdf_clippath.h
index dd44cb250e..8493a9ccd9 100644
--- a/core/fpdfapi/page/cpdf_clippath.h
+++ b/core/fpdfapi/page/cpdf_clippath.h
@@ -28,7 +28,7 @@ class CPDF_ClipPath {
void Emplace() { m_Ref.Emplace(); }
void SetNull() { m_Ref.SetNull(); }
- explicit operator bool() const { return !!m_Ref; }
+ bool HasRef() const { return !!m_Ref; }
bool operator==(const CPDF_ClipPath& that) const {
return m_Ref == that.m_Ref;
}