summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_path.h')
-rw-r--r--core/fpdfapi/page/cpdf_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_path.h b/core/fpdfapi/page/cpdf_path.h
index 84b844e798..4bbb4b870e 100644
--- a/core/fpdfapi/page/cpdf_path.h
+++ b/core/fpdfapi/page/cpdf_path.h
@@ -22,7 +22,7 @@ class CPDF_Path {
~CPDF_Path();
void Emplace() { m_Ref.Emplace(); }
- explicit operator bool() const { return !!m_Ref; }
+ bool HasRef() const { return !!m_Ref; }
const std::vector<FX_PATHPOINT>& GetPoints() const;
void ClosePath();