Skip to content

Commit

Permalink
Fixed GCC compiling issues with constexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
fredher committed Jun 9, 2024
1 parent ad643ba commit 2fe2f91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/tchecker/variables/clocks.hh
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ public:
assertion)
\return the identifier of clock id in this reference map
*/
constexpr inline tchecker::clock_id_t translate_system_clock(tchecker::clock_id_t id) const
inline tchecker::clock_id_t translate_system_clock(tchecker::clock_id_t id) const
{
assert(id < size() - _refcount);
return id + _refcount;
Expand Down
2 changes: 1 addition & 1 deletion src/system/system.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class system_builder_t : public tchecker::parsing::declaration_visitor_t {
*/
virtual void visit(tchecker::parsing::system_declaration_t const & d)
{
for (std::shared_ptr<tchecker::parsing::declaration_t> const & decl : d.declarations())
for (std::shared_ptr<tchecker::parsing::declaration_t> const decl : d.declarations())
decl->visit(*this);
}

Expand Down

0 comments on commit 2fe2f91

Please sign in to comment.