summaryrefslogtreecommitdiffstats
path: root/src/disk_interface.h
diff options
context:
space:
mode:
authorJan Niklas Hasse <jhasse@bixense.com>2019-09-21 20:41:37 (GMT)
committerJan Niklas Hasse <jhasse@bixense.com>2019-09-21 20:41:37 (GMT)
commit95e0cb5156d295e0510b5296e441eecb1f8b1806 (patch)
treea0e9180bfb1177a8bb590ded14aedc871655f9de /src/disk_interface.h
parent2321fd711c4bbe7bdc23060f3549f2aea9a95580 (diff)
downloadNinja-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