summaryrefslogtreecommitdiff
path: root/src/callback_table.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2007-01-19 11:47:48 +0000
committertron <tron@openttd.org>2007-01-19 11:47:48 +0000
commitb2def962481476a5fae92f8539e5f061022bf442 (patch)
treeb99fe1407a3f7165356bacf607eb1e59804164a9 /src/callback_table.h
parent7af3094bc3cad9ba1182e7a68efa86c4239d4363 (diff)
downloadopenttd-b2def962481476a5fae92f8539e5f061022bf442.tar.xz
(svn r8276) -Fix
Change the signature of Swap() to be less error prone, i.e. pass the variables to be swapped by reference instead of passing pointers to the variables. Just do Swap(x, y) instead of Swap(&x, &y). This prevents accidents when the variables are pointers.
Diffstat (limited to 'src/callback_table.h')
0 files changed, 0 insertions, 0 deletions