diff Core/Compatibility.h @ 3767:c6658187e4b1

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Mar 2020 14:46:06 +0100
parents 89bd08fdd91b
children
line wrap: on
line diff
--- a/Core/Compatibility.h	Mon Mar 16 14:12:20 2020 +0100
+++ b/Core/Compatibility.h	Tue Mar 17 14:46:06 2020 +0100
@@ -93,7 +93,7 @@
     {
     }      
 
-    unique_ptr(T* p) :
+    explicit unique_ptr(T* p) :
       boost::movelib::unique_ptr<T>(p)
     {
     }