Fixed *nix compile

This commit is contained in:
Casey Langen 2016-07-11 01:34:10 -07:00
parent 2a9bc70037
commit aec0fda140
2 changed files with 4 additions and 4 deletions

View File

@ -88,9 +88,9 @@ int main(int argc, char* argv[])
{
App app("musikbox"); /* inits curses; needs to happen before layout creation */
ILayoutPtr libraryLayout(new LibraryLayout(playback, library));
ILayoutPtr consoleLayout(new ConsoleLayout(transport, library));
ILayoutPtr indexerLayout(new IndexerLayout(library));
ILayoutPtr libraryLayout((ILayout *) new LibraryLayout(playback, library));
ILayoutPtr consoleLayout((ILayout *) new ConsoleLayout(transport, library));
ILayoutPtr indexerLayout((ILayout *) new IndexerLayout(library));
app.SetKeyHandler([&](const std::string& kn) {
if (kn == "M-`" || kn == "M-~") {

View File

@ -77,7 +77,7 @@ static void hangupHandler(int signal) {
static void resizeHandler(int signal) {
endwin(); /* required in *nix because? */
resizeAt = now() + REDRAW_DEBOUNCE_MS;
resizeAt = App::Now() + REDRAW_DEBOUNCE_MS;
}
#endif