]> git.sesse.net Git - casparcg/commitdiff
* Fixed compilation problem in Linux.
authorHelge Norberg <helge.norberg@svt.se>
Tue, 30 Jun 2015 14:23:30 +0000 (16:23 +0200)
committerHelge Norberg <helge.norberg@svt.se>
Tue, 30 Jun 2015 14:23:30 +0000 (16:23 +0200)
protocol/amcp/AMCPCommand.h

index d7cbf607521f13e7e6655b256ce1443252583790..bc5373c803321ec38371b6650c83feea3eb3a052 100644 (file)
@@ -46,7 +46,7 @@ namespace amcp {
                std::promise<bool>&                                                                             shutdown_server_now;
                std::vector<std::wstring>                                                               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,