X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fgetopt.h;fp=source%2Fcore%2Fgetopt.h;h=ade620bf94d5c46bc2b6c36197a807a4b4edb986;hp=ed6cf86195d2419cf7e3b579e470b64e242bc0bd;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=26a5878092f6547e701fd1a33abbf1878d26ab70 diff --git a/source/core/getopt.h b/source/core/getopt.h index ed6cf86..ade620b 100644 --- a/source/core/getopt.h +++ b/source/core/getopt.h @@ -121,10 +121,10 @@ private: std::string lng; ArgType arg_type = NO_ARG; unsigned seen_count = 0; - unsigned *ext_seen_count = 0; + unsigned *ext_seen_count = nullptr; std::string help; std::string metavar = "ARG"; - Store *store = 0; + Store *store = nullptr; public: OptionImpl(char, const std::string &, const Store &, ArgType); @@ -149,7 +149,7 @@ private: std::string name; ArgType type = REQUIRED_ARG; std::string help; - Store *store = 0; + Store *store = nullptr; public: ArgumentImpl(const std::string &, const Store &, ArgType);