summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdwin Mons <edwin.mons@isode.com>2018-11-09 10:03:50 (GMT)
committerEdwin Mons <edwin.mons@isode.com>2018-11-14 14:17:46 (GMT)
commitc7ad127218e3901e0006e75aa7e1399b449a845e (patch)
tree4371fe826528a5ad08cc036a09b375b51dfdce32 /Swiften/Serializer/PayloadSerializers/StreamInitiationFileInfoSerializer.cpp
parent5d7fc97148125584a44a39a4beee1e71d9518385 (diff)
downloadswift-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 'Swiften/Serializer/PayloadSerializers/StreamInitiationFileInfoSerializer.cpp')
0 files changed, 0 insertions, 0 deletions