make previous commit compile (lua)
authornick_m <mainsbridge@gmail.com>
Thu, 5 Jan 2017 15:22:33 +0000 (02:22 +1100)
committernick_m <mainsbridge@gmail.com>
Thu, 5 Jan 2017 15:22:33 +0000 (02:22 +1100)
libs/ardour/luabindings.cc

index cdd3dd5940dc87777d925e54f3d75e4c75c1edc6..7e741e05fac90093e545026145ab6e655bf20689 100644 (file)
@@ -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)