add const qualifier to unit_map::has_unit, which was missing it
This commit is contained in:
parent
21f3a01f95
commit
5efa0696fb
2 changed files with 2 additions and 2 deletions
|
@ -377,7 +377,7 @@ bool unit_map::self_check() const {
|
|||
|
||||
#endif
|
||||
|
||||
bool unit_map::has_unit(const unit * const u)
|
||||
bool unit_map::has_unit(const unit * const u) const
|
||||
{
|
||||
assert(u);
|
||||
|
||||
|
|
|
@ -388,7 +388,7 @@ public:
|
|||
*
|
||||
* @returns True if found, false otherwise.
|
||||
*/
|
||||
bool has_unit(const unit * const u);
|
||||
bool has_unit(const unit * const u) const ;
|
||||
|
||||
private:
|
||||
t_umap::iterator begin_core() const ;
|
||||
|
|
Loading…
Add table
Reference in a new issue