Skip to content

updates required for more strict gcc13 compiler shipped with 24.04#5

Open
frank-Regal wants to merge 1 commit intomainfrom
24.04-gcc13-updates
Open

updates required for more strict gcc13 compiler shipped with 24.04#5
frank-Regal wants to merge 1 commit intomainfrom
24.04-gcc13-updates

Conversation

@frank-Regal
Copy link

Specified functional header and explicitly defined units array type.

@frank-Regal frank-Regal requested a review from alexnavtt March 14, 2026 19:35

const char* Timer::normalizeDuration_(time_t& duration) const{
static constexpr std::array units = {" ns", " us", " ms"};
static constexpr std::array<const char*, 3> units = {" ns", " us", " ms"};
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did a little digging and apparently this one is better fixed by adding an explicit #include <array> and then the template arguments can still be omitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants