From 349731d40fa09cd7909c4edd524134dabc7458ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jianxiang=20Wang=20=28=E7=8E=8B=E5=81=A5=E7=BF=94=29?= Date: Wed, 22 Jan 2020 17:40:56 +0800 Subject: [PATCH] Remove const modifiers in function declarations Co-Authored-By: ZhilkinSerg --- src/computer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/computer.cpp b/src/computer.cpp index e0d5b4209c644..f11ce32832582 100644 --- a/src/computer.cpp +++ b/src/computer.cpp @@ -99,8 +99,8 @@ void computer::set_mission( const int id ) mission_id = id; } -static computer_action computer_action_from_legacy_enum( const int val ); -static computer_failure_type computer_failure_type_from_legacy_enum( const int val ); +static computer_action computer_action_from_legacy_enum( int val ); +static computer_failure_type computer_failure_type_from_legacy_enum( int val ); void computer::load_legacy_data( const std::string &data ) {