diff options
| author | nyamatongwe <devnull@localhost> | 2011-01-02 09:56:17 +1100 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-01-02 09:56:17 +1100 | 
| commit | a317b8d0d40cabfcf5cafb64a632a2c961bfb43c (patch) | |
| tree | 3b6c5b6d63bd9c6571b150e7915ca0a45ff24dbd /src/Selection.h | |
| parent | 45a9984b8ed3d8055690472dfe9e8b0e90fe73fc (diff) | |
| download | scintilla-mirror-a317b8d0d40cabfcf5cafb64a632a2c961bfb43c.tar.gz | |
Avoid cppcheck warnings.
Diffstat (limited to 'src/Selection.h')
| -rw-r--r-- | src/Selection.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Selection.h b/src/Selection.h index 75f02f6cd..d7c7d79ad 100644 --- a/src/Selection.h +++ b/src/Selection.h @@ -60,7 +60,7 @@ public:  struct SelectionSegment {  	SelectionPosition start;  	SelectionPosition end; -	SelectionSegment() { +	SelectionSegment() : start(), end() {  	}  	SelectionSegment(SelectionPosition a, SelectionPosition b) {  		if (a < b) { @@ -86,7 +86,7 @@ struct SelectionRange {  	SelectionPosition caret;  	SelectionPosition anchor; -	SelectionRange() { +	SelectionRange() : caret(), anchor() {  	}  	SelectionRange(SelectionPosition single) : caret(single), anchor(single) {  	}  | 
