diff options
author | Neil <nyamatongwe@gmail.com> | 2013-12-15 12:49:06 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-12-15 12:49:06 +1100 |
commit | 3d0a66fc8c15a74ae33a5d92b68c0b9adcd02920 (patch) | |
tree | 0eac4ed28358e0496be6a35f77891b308849b477 /cocoa/QuartzTextLayout.h | |
parent | 7c020de8903c45bcc32795e28cc13a32285513f3 (diff) | |
download | scintilla-mirror-3d0a66fc8c15a74ae33a5d92b68c0b9adcd02920.tar.gz |
Make single argument constructors explicit to avoid unexpected conversions.
Diffstat (limited to 'cocoa/QuartzTextLayout.h')
-rw-r--r-- | cocoa/QuartzTextLayout.h | 2 |
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; |