diff options
author | Edwin Mons <edwin.mons@isode.com> | 2018-11-09 10:03:50 (GMT) |
---|---|---|
committer | Edwin Mons <edwin.mons@isode.com> | 2018-11-14 14:17:46 (GMT) |
commit | c7ad127218e3901e0006e75aa7e1399b449a845e (patch) | |
tree | 4371fe826528a5ad08cc036a09b375b51dfdce32 /Swift/QtUI/UserSearch | |
parent | 5d7fc97148125584a44a39a4beee1e71d9518385 (diff) | |
download | swift-c7ad127218e3901e0006e75aa7e1399b449a845e.zip swift-c7ad127218e3901e0006e75aa7e1399b449a845e.tar.bz2 |
Remove numeric_casts from BOSH parser
The two uses of numeric_casts have been rewritten as static casts, with
asserts to guarantee (and inform the developer) that the number is never
negative (code inspection showed that this should never be the case).
Test-Information:
Unit tests pass on macOS and Debian
Change-Id: I3ca63724721ecd8e351d9017e0975b6ae326f85f
Diffstat (limited to 'Swift/QtUI/UserSearch')
0 files changed, 0 insertions, 0 deletions