diff --git a/source/detail/linux_X11/platform_spec.cpp b/source/detail/linux_X11/platform_spec.cpp index f53c046b..c8ccf682 100644 --- a/source/detail/linux_X11/platform_spec.cpp +++ b/source/detail/linux_X11/platform_spec.cpp @@ -44,7 +44,7 @@ namespace detail bool conf::open(const char* file) { ifs_.open(file); - return static_cast(ifs_ != 0); + return static_cast(ifs_); } std::string conf::value(const char* key)