diff options
author | Jan Niklas Hasse <jhasse@bixense.com> | 2019-09-21 20:41:37 (GMT) |
---|---|---|
committer | Jan Niklas Hasse <jhasse@bixense.com> | 2019-09-21 20:41:37 (GMT) |
commit | 95e0cb5156d295e0510b5296e441eecb1f8b1806 (patch) | |
tree | a0e9180bfb1177a8bb590ded14aedc871655f9de /src/disk_interface.h | |
parent | 2321fd711c4bbe7bdc23060f3549f2aea9a95580 (diff) | |
download | Ninja-95e0cb5156d295e0510b5296e441eecb1f8b1806.zip Ninja-95e0cb5156d295e0510b5296e441eecb1f8b1806.tar.gz Ninja-95e0cb5156d295e0510b5296e441eecb1f8b1806.tar.bz2 |
Fix crash when using MSVC in debug mode
Accessing inputs_[0] when it's empty results in an assert when running
in debug. Avoid it by using data() if available.
Diffstat (limited to 'src/disk_interface.h')
0 files changed, 0 insertions, 0 deletions