From f10ebcc8626f44ca5819f35365be8795c51545fb Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 13 Jan 2018 10:50:05 +0100 Subject: [PATCH 1/1] Fix lua build. --- src/bindings/lua/lua_platf.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bindings/lua/lua_platf.cpp b/src/bindings/lua/lua_platf.cpp index e7c33708a4..6a1a8e4438 100644 --- a/src/bindings/lua/lua_platf.cpp +++ b/src/bindings/lua/lua_platf.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2018. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -302,7 +302,7 @@ int console_add_router(lua_State* L) { int console_add_route(lua_State *L) { XBT_DEBUG("Adding route"); - s_sg_platf_route_cbarg_t route; + RouteCreationArgs route; int type; lua_ensure(lua_istable(L, -1), "Bad Arguments to add a route. Should be a table with named arguments"); @@ -373,7 +373,7 @@ int console_add_route(lua_State *L) { } int console_add_ASroute(lua_State *L) { - s_sg_platf_route_cbarg_t ASroute; + RouteCreationArgs ASroute; lua_pushstring(L, "src"); lua_gettable(L, -2); -- 2.20.1