From: Helge Norberg Date: Tue, 30 Jun 2015 14:23:30 +0000 (+0200) Subject: * Fixed compilation problem in Linux. X-Git-Tag: 2.1.0_Beta1~322 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a6c62c357f422f8a306f1995e69ef86d9fa5209b;p=casparcg * Fixed compilation problem in Linux. --- diff --git a/protocol/amcp/AMCPCommand.h b/protocol/amcp/AMCPCommand.h index d7cbf6075..bc5373c80 100644 --- a/protocol/amcp/AMCPCommand.h +++ b/protocol/amcp/AMCPCommand.h @@ -46,7 +46,7 @@ namespace amcp { std::promise& shutdown_server_now; std::vector parameters; - int layer_index(int default = 0) const { return layer_id == -1 ? default: layer_id; } + int layer_index(int default_ = 0) const { return layer_id == -1 ? default_: layer_id; } command_context( IO::ClientInfoPtr client,