diff options
| author | nyamatongwe <unknown> | 2004-08-12 22:49:47 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2004-08-12 22:49:47 +0000 | 
| commit | 1e35215f948184f47e4abcc36d7245fc8f413bc0 (patch) | |
| tree | dfcfbf053435f5a32a4252db2736278daeb53084 /include/Platform.h | |
| parent | 1c8696856d131760a5010f285ae8fa62ca8a8d18 (diff) | |
| download | scintilla-mirror-1e35215f948184f47e4abcc36d7245fc8f413bc0.tar.gz | |
Constructor marked explicit stops automatic conversion of int to
Point which caused bug in handling hotspots.
Diffstat (limited to 'include/Platform.h')
| -rw-r--r-- | include/Platform.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/include/Platform.h b/include/Platform.h index 99daf98ba..79ce010ae 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -64,7 +64,7 @@ public:  	int x;  	int y; -	Point(int x_=0, int y_=0) : x(x_), y(y_) { +	explicit Point(int x_=0, int y_=0) : x(x_), y(y_) {  	}  	// Other automatically defined methods (assignment, copy constructor, destructor) are fine | 
