[Chapel Merge] fix(chpldoc): add explicit initializer for RstResu

Branch: refs/heads/main
Revision: 7571344
Author: arezaii
Link: fix(chpldoc): add explicit initializer for RstResultBuilder by arezaii · Pull Request #20580 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20580 from arezaii/chpldoc-explicit-init

fix(chpldoc): add explicit initializer for RstResultBuilder

This PR adds an initializer to the RstResultBuilder struct in the new
chpldoc. Previously the code relied on implicit instantiation, but some
compilers complain about this and so it breaks our smoke-tests.

TESTING:

  • test/chpldoc

Reviewed by @dlongnecke-cray - thank you!

Signed-off-by: arezaii ahmad.rezaii@hpe.com

Modified Files:
M compiler/dyno/tools/chpldoc/chpldoc.cpp

Compare: https://github.com/chapel-lang/chapel/compare/7f419f3a202a...75713444b722