diff options
author | Neil <nyamatongwe@gmail.com> | 2017-04-19 17:44:09 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2017-04-19 17:44:09 +1000 |
commit | d9a4e803d7b5e9fde3009052653ec3fdf77c5c09 (patch) | |
tree | 45858426901e942a5f1cd8b1f4a5805902e125c0 /test/unit/testCharClassify.cxx | |
parent | c085f3f8458110eca0874343b45b34acc9827631 (diff) | |
download | scintilla-mirror-d9a4e803d7b5e9fde3009052653ec3fdf77c5c09.tar.gz |
Use =delete for unwanted functions.
Diffstat (limited to 'test/unit/testCharClassify.cxx')
-rw-r--r-- | test/unit/testCharClassify.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index 5a66ff80f..b682d8b2d 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -14,8 +14,8 @@ // Test CharClassify. class CharClassifyTest { - // Avoid warnings, private so never called. - CharClassifyTest(const CharClassifyTest &); + // Avoid warnings, deleted so never called. + CharClassifyTest(const CharClassifyTest &) = delete; protected: CharClassifyTest() { pcc = new CharClassify(); |