Fix a compiler problem when building 'gtk2_ardour/template_dialog.cc' with MSVC
authorJohn Emmas <johne53@tiscali.co.uk>
Sat, 26 Aug 2017 12:07:45 +0000 (13:07 +0100)
committerJohn Emmas <johne53@tiscali.co.uk>
Sat, 26 Aug 2017 12:07:45 +0000 (13:07 +0100)
commitb25b99216c2c3a2e955ef9c2bb7c2d9ffa31228e
tree8cc41b8697b12ef888cd6044b3cfd1600845ecf5
parent5aeb5f0c7d06036f05ca35081cfd9545c40fcf1b
Fix a compiler problem when building 'gtk2_ardour/template_dialog.cc' with MSVC

When setting up the 'TemplatesImported' signal, these 2 calls appear in the c'tor for class TemplateDialog:-

boost::bind (&RouteTemplateManager::init, route_tm)
boost::bind (&SessionTemplateManager::init, session_tm)

However - '&RouteTemplateManager::init' and '&SessionTemplateManager::init' are in fact the address of the same function. This seems to be causing a problem, either for boost::bind, or MSVC (or both).

In earlier builds they were 2 separate functions. So let's put them back that way (since the current code actually crashes the compiler!!)
gtk2_ardour/template_dialog.cc