gbranden pushed a commit to branch master
in repository groff.
commit 4b73c282e57280d2385f5912f0b61ee0562654bd
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Nov 24 11:38:34 2026 -0600
src/roff/troff/node.cpp: Annotate.
Annotate null pointer literal with `nullptr` comment to ease any future
transition to C++11, which defines it as a keyword.
---
src/roff/troff/node.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/roff/troff/node.cpp b/src/roff/troff/node.cpp
index e9fc8976e..e795bcb37 100644
--- a/src/roff/troff/node.cpp
+++ b/src/roff/troff/node.cpp
@@ -462,7 +462,7 @@ void font_info::set_track_kern(track_kerning_function &tk)
void font_info::flush()
{
- last_tfont = 0;
+ last_tfont = 0 /* nullptr */;
}
bool font_info::is_named(symbol s) const
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit