summaryrefslogtreecommitdiff
path: root/core/fpdfapi/fpdf_page/include/cpdf_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fpdfapi/fpdf_page/include/cpdf_path.h')
-rw-r--r--core/fpdfapi/fpdf_page/include/cpdf_path.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfapi/fpdf_page/include/cpdf_path.h b/core/fpdfapi/fpdf_page/include/cpdf_path.h
index a9b0a7fac0..ae98531214 100644
--- a/core/fpdfapi/fpdf_page/include/cpdf_path.h
+++ b/core/fpdfapi/fpdf_page/include/cpdf_path.h
@@ -20,7 +20,7 @@ class CPDF_Path {
~CPDF_Path();
void Emplace() { m_Ref.Emplace(); }
- operator bool() const { return !!m_Ref; }
+ explicit operator bool() const { return !!m_Ref; }
int GetPointCount() const;
void SetPointCount(int count);