Author: cazfi
Date: Sun Nov 23 04:56:29 2014
New Revision: 27115
URL: http://svn.gna.org/viewcvs/freeciv?rev=27115&view=rev
Log:
Instruct to use 'nullptr' in C++ code.
See patch #5128
Modified:
trunk/doc/CodingStyle
Modified: trunk/doc/CodingStyle
URL:
http://svn.gna.org/viewcvs/freeciv/trunk/doc/CodingStyle?rev=27115&r1=27114&r2=27115&view=diff
==============================================================================
--- trunk/doc/CodingStyle (original)
+++ trunk/doc/CodingStyle Sun Nov 23 04:56:29 2014
@@ -580,6 +580,9 @@
in header files. It also means casts on void pointers (which should be
avoided in C files) must be used in headers.
+- To assign null pointer, or to compare against one, use 'NULL' in C code,
+ and 'nullptr' in C++ code.
+
- If you send patches, use "diff -u" (or "diff -r -u"). "svn diff" works
correctly without extra parameters.
_______________________________________________
Freeciv-commits mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-commits