diff options
author | nick_m <mainsbridge@gmail.com> | 2017-01-06 02:22:33 +1100 |
---|---|---|
committer | nick_m <mainsbridge@gmail.com> | 2017-01-06 02:22:33 +1100 |
commit | ade582a1bb755f890c30d210e4713a63325f737e (patch) | |
tree | b438ef12a7eda026cd01042d56dddc3683e85854 /libs | |
parent | 7138a0baa0964e07457d01fe0aa3aef99d4eaced (diff) |
make previous commit compile (lua)
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/luabindings.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/ardour/luabindings.cc b/libs/ardour/luabindings.cc index cdd3dd5940..7e741e05fa 100644 --- a/libs/ardour/luabindings.cc +++ b/libs/ardour/luabindings.cc @@ -1456,7 +1456,8 @@ LuaBindings::common (lua_State* L) .beginClass <TempoMap> ("TempoMap") .addFunction ("add_tempo", &TempoMap::add_tempo) .addFunction ("add_meter", &TempoMap::add_meter) - .addFunction ("tempo_section_at_frame", &TempoMap::tempo_section_at_frame) + .addFunction ("tempo_section_at_frame", (TempoSection& (TempoMap::*)(framepos_t))&TempoMap::tempo_section_at_frame) + .addFunction ("tempo_section_at_frame", (const TempoSection& (TempoMap::*)(framepos_t) const)&TempoMap::tempo_section_at_frame) .addFunction ("meter_section_at_frame", &TempoMap::meter_section_at_frame) .addFunction ("meter_section_at_beat", &TempoMap::meter_section_at_beat) .addFunction ("bbt_at_frame", &TempoMap::bbt_at_frame) |