diff options
author | frosch <frosch@openttd.org> | 2014-07-08 20:07:21 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2014-07-08 20:07:21 +0000 |
commit | da9de1de70a83c4f1737f70542214ef39c5df6b7 (patch) | |
tree | 14bf08173a103e9ce6670b07ab3ce5c07d8100c1 /src/vehiclelist.h | |
parent | c3c966fd79b07020436849466706fc50e0306a3d (diff) | |
download | openttd-da9de1de70a83c4f1737f70542214ef39c5df6b7.tar.xz |
(svn r26679) -Codechange: VehicleListIdentifier::Pack can be const. (Juanjo)
Diffstat (limited to 'src/vehiclelist.h')
-rw-r--r-- | src/vehiclelist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehiclelist.h b/src/vehiclelist.h index d09f19682..03bfb0774 100644 --- a/src/vehiclelist.h +++ b/src/vehiclelist.h @@ -34,7 +34,7 @@ struct VehicleListIdentifier { CompanyID company; ///< The company associated with this list. uint32 index; ///< A vehicle list type specific index. - uint32 Pack(); + uint32 Pack() const; bool Unpack(uint32 data); /** |