summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_colorstate.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/page/cpdf_colorstate.h')
-rw-r--r--core/fpdfapi/page/cpdf_colorstate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/page/cpdf_colorstate.h b/core/fpdfapi/page/cpdf_colorstate.h
index f66eac3d81..0862f489bd 100644
--- a/core/fpdfapi/page/cpdf_colorstate.h
+++ b/core/fpdfapi/page/cpdf_colorstate.h
@@ -44,7 +44,7 @@ class CPDF_ColorState {
void SetFillPattern(CPDF_Pattern* pattern, float* pValue, uint32_t nValues);
void SetStrokePattern(CPDF_Pattern* pattern, float* pValue, uint32_t nValues);
- explicit operator bool() const { return !!m_Ref; }
+ bool HasRef() const { return !!m_Ref; }
private:
class ColorData {