ETLCPP / etl

Embedded Template Library
https://www.etlcpp.com
MIT License
2.04k stars 371 forks source link

Fix doc comment for exception::line_number() #901

Closed SakuGlumoff closed 3 weeks ago

SakuGlumoff commented 3 weeks ago

The documentation comment for exception::line_number() in include/etl/exception.h states falsely that the return type for the function is a const char*. It should state that the return type is numeric_type, which is an int. So change the documentation comment to reflect that the return type is an int.

I know that this is a small issue but when I'm setting up error handling for ETL it just irks me to have my IDE report false data.

semanticdiff-com[bot] commented 3 weeks ago

Review changes with SemanticDiff.