The NOT_DANGLING specifier should be before the const attribute
Fixes a warning with GCC-14.
This commit is contained in:
parent
82c7b4c7eb
commit
3e464cb856
1 changed files with 2 additions and 2 deletions
|
@ -745,7 +745,7 @@ public:
|
|||
}
|
||||
|
||||
template <class T>
|
||||
const NOT_DANGLING T* find_widget(
|
||||
NOT_DANGLING const T* find_widget(
|
||||
const std::string& id,
|
||||
const bool must_be_active,
|
||||
const bool must_exist) const
|
||||
|
@ -778,7 +778,7 @@ public:
|
|||
}
|
||||
|
||||
template <class T>
|
||||
const NOT_DANGLING T& find_widget(
|
||||
NOT_DANGLING const T& find_widget(
|
||||
const std::string& id,
|
||||
const bool must_be_active = false) const
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue