summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_contentmark.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_contentmark.h')
-rw-r--r--core/fpdfapi/page/cpdf_contentmark.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_contentmark.h b/core/fpdfapi/page/cpdf_contentmark.h
index 154f19d529..5782addc93 100644
--- a/core/fpdfapi/page/cpdf_contentmark.h
+++ b/core/fpdfapi/page/cpdf_contentmark.h
@@ -35,7 +35,7 @@ class CPDF_ContentMark {
bool bDirect);
void DeleteLastMark();
- explicit operator bool() const { return !!m_Ref; }
+ bool HasRef() const { return !!m_Ref; }
private:
class MarkData {