aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/path_parser.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-12-07 05:20:35 -0500
committerLioncash <mathew1800@gmail.com>2016-12-07 17:26:56 -0500
commit5e9f1ec096892aeea8fc6fd27d0047839efe4f7b (patch)
tree80dafbb190346ed9397b39cc766e346abb167422 /src/core/file_sys/path_parser.h
parent8d529a5cda86f6c59f21829d8a15deb5586c1c8d (diff)
file_sys: Make a few single-argument constructors explicit
Prevents implicit conversions.
Diffstat (limited to 'src/core/file_sys/path_parser.h')
-rw-r--r--src/core/file_sys/path_parser.h2
1 files changed, 1 insertions, 1 deletions
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.