From ade582a1bb755f890c30d210e4713a63325f737e Mon Sep 17 00:00:00 2001 From: nick_m Date: Fri, 6 Jan 2017 02:22:33 +1100 Subject: [PATCH] make previous commit compile (lua) --- libs/ardour/luabindings.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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") .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)