From 5e9f1ec096892aeea8fc6fd27d0047839efe4f7b Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 7 Dec 2016 05:20:35 -0500 Subject: file_sys: Make a few single-argument constructors explicit Prevents implicit conversions. --- src/core/file_sys/path_parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/file_sys/path_parser.h') diff --git a/src/core/file_sys/path_parser.h b/src/core/file_sys/path_parser.h index 990802579..b9f52f65d 100644 --- a/src/core/file_sys/path_parser.h +++ b/src/core/file_sys/path_parser.h @@ -17,7 +17,7 @@ namespace FileSys { */ class PathParser { public: - PathParser(const Path& path); + explicit PathParser(const Path& path); /** * Checks if the Path is valid. -- cgit v1.2.3