From 496c8a2e7c0b89d2f00294e612c9e9f8d093539c Mon Sep 17 00:00:00 2001 From: Saku Glumoff Date: Tue, 4 Jun 2024 20:17:41 +0300 Subject: [PATCH] Fix doc comment for exception::line_number() (#901) 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`. --- include/etl/exception.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/exception.h b/include/etl/exception.h index 90ab6e722..49e6adcaf 100644 --- a/include/etl/exception.h +++ b/include/etl/exception.h @@ -100,7 +100,7 @@ namespace etl //*************************************************************************** /// Gets the line for the exception. - /// \return const char* to the line. + /// \return int as line number. //*************************************************************************** ETL_CONSTEXPR numeric_type line_number() const