Age | Commit message (Collapse) | Author |
|
|
|
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
|
|
|
|
window during ReInit by an amount that's not a multiple of the resize interval
|
|
|
|
|
|
|
|
overflow of the argument to malloc. (monoid)
|
|
|
|
cross-compiling, and strndup is available in the binary for more exotic platforms
|
|
destructor
|
|
|
|
|
|
|
|
PoolItem::CanAllocateItem() before actually allocating it
|
|
|
|
more likely to be updated [n].
|
|
|
|
is enabled (fonsinchen)
|
|
|
|
result before shifting.
|
|
causing invalid memory reads / double free
|
|
|
|
|
|
|
|
|
|
new items like operator[].
|
|
DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
|
|
of _current_company to ensure proper restoration.
|
|
|
|
|
|
passed bit variable, i.e. allow expressions as parameter
|
|
|
|
divisions with rounding.
|
|
generally extent it to handle 32 bits.
|
|
lots of industry types.
|
|
|
|
|
|
compiling (planetmaker)
|
|
|
|
instead of CountBits() where possible
|
|
about
|
|
with one call.
|
|
if a header require a header make it include that header
|
|
it's used quite often in the code
-Revert (r18637): it's not needed any more
|
|
|
|
capacity it would try to set a negative position
|
|
min(int, int) is a better match for min(uint64, uint) than uint64 min(uint64, uint64). As such we need to cast the UINT16_MAX to prevent MSVC from displaying it's infinite wisdom with loads of warnings.
|
|
(fonsinchen) and reuse template functions in their non-template counterparts.
|
|
"non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'.
We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t).
This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
|