From 11ea72e240f98b0f93ed95e36c5dc799f4f6c330 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 21 Apr 2016 14:20:56 +0200 Subject: [PATCH] fs/AllocatedPath: make constructor "explicit" --- src/fs/AllocatedPath.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fs/AllocatedPath.hxx b/src/fs/AllocatedPath.hxx index 2aa2fc2a9..5d27e2ddc 100644 --- a/src/fs/AllocatedPath.hxx +++ b/src/fs/AllocatedPath.hxx @@ -46,7 +46,7 @@ class AllocatedPath { string value; AllocatedPath(std::nullptr_t):value() {} - AllocatedPath(const_pointer_type _value):value(_value) {} + explicit AllocatedPath(const_pointer_type _value):value(_value) {} AllocatedPath(string &&_value):value(std::move(_value)) {}