aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/QuartzTextLayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'cocoa/QuartzTextLayout.h')
-rw-r--r--cocoa/QuartzTextLayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/QuartzTextLayout.h b/cocoa/QuartzTextLayout.h
index edf357682..1e2fbce50 100644
--- a/cocoa/QuartzTextLayout.h
+++ b/cocoa/QuartzTextLayout.h
@@ -20,7 +20,7 @@ class QuartzTextLayout
{
public:
/** Create a text layout for drawing on the specified context. */
- QuartzTextLayout( CGContextRef context )
+ explicit QuartzTextLayout( CGContextRef context )
{
mString = NULL;
mLine = NULL;