mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
Constification: make Stateful::get_state() const, with all other required const-ness added (libs)
This commit is contained in:
parent
9e69c0d184
commit
7bf89ce109
233 changed files with 476 additions and 460 deletions
|
|
@ -33,7 +33,7 @@ public:
|
|||
|
||||
int do_command (std::string);
|
||||
int do_file (std::string);
|
||||
void collect_garbage ();
|
||||
void collect_garbage () const;
|
||||
void collect_garbage_step (int debt = 0);
|
||||
void tweak_rt_gc ();
|
||||
void sandbox (bool rt_safe = false);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ LuaState::do_file (std::string fn) {
|
|||
}
|
||||
|
||||
void
|
||||
LuaState::collect_garbage () {
|
||||
LuaState::collect_garbage () const {
|
||||
lua_gc (L, LUA_GCCOLLECT, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue