mark constructor function call as explicit

This commit is contained in:
Krishna Vedala 2020-05-28 14:10:24 -04:00
parent 5c7db7aba3
commit c43e76286d
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -20,7 +20,7 @@ struct Point {
* \param [in] a absicca (default = 0.0)
* \param [in] b ordinate (default = 0.0)
*/
Point(double a = 0.f, double b = 0.f) {
explicit Point(double a = 0.f, double b = 0.f) {
x = a;
y = b;
}