From 8e17031cd967768d60b23e862cd66028202485ae Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 16 May 2015 14:51:29 +1000 Subject: Make unused single argument constructors explicit. --- src/Editor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Editor.h') diff --git a/src/Editor.h b/src/Editor.h index 1fc907ac7..2bf8336fa 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -153,7 +153,7 @@ struct WrapPending { */ class Editor : public EditModel, public DocWatcher { // Private so Editor objects can not be copied - Editor(const Editor &); + explicit Editor(const Editor &); Editor &operator=(const Editor &); protected: // ScintillaBase subclass needs access to much of Editor -- cgit v1.2.3