]> git.tdb.fi Git - libs/datafile.git/blobdiff - source/parsermode.h
Use nullptr instead of 0 for pointers
[libs/datafile.git] / source / parsermode.h
index 5c9deceb7d2c289b224c7b5a20ed8dc9cf69131d..9d47ae422f8753bfb7a7a16f401e40b615a43729 100644 (file)
@@ -27,7 +27,7 @@ public:
        virtual Statement parse() = 0;
        virtual void process_control_statement(const Statement &) { }
 
-       virtual const StatementKey *peek(unsigned) { return 0; }
+       virtual const StatementKey *peek(unsigned) { return nullptr; }
        virtual bool parse_and_load(unsigned, Loader &, const LoaderAction &) { return false; }
 };