Files @ r27383:44f4e925c6f0
Branch filter:

Location: cpp/openttd-patchpack/source/src/linkgraph/CMakeLists.txt

Peter Nelson
Codechange: Swap SocketList map key/value around.

This map is used store socket and address together, and, other than
checking that the address does not already have a socket, the data layout
does not seem particularly important.

However, as address is the key, technically it should not be modified,
and address may self-modify itself during comparisons.
add_files(
    demands.cpp
    demands.h
    flowmapper.cpp
    flowmapper.h
    init.h
    linkgraph.cpp
    linkgraph.h
    linkgraph_base.h
    linkgraph_gui.cpp
    linkgraph_gui.h
    linkgraph_type.h
    linkgraphjob.cpp
    linkgraphjob.h
    linkgraphjob_base.h
    linkgraphschedule.cpp
    linkgraphschedule.h
    mcf.cpp
    mcf.h
    refresh.cpp
    refresh.h
)