diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-05-25 17:35:57 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-05-25 23:47:21 +0200 |
commit | 6b54253d4ff0c550a116fee87629ab5c32123af5 (patch) | |
tree | ef65ba3648f4952c8fa4c18bc9ae9f51495e77b5 /sw/inc | |
parent | 386b284241a16d96eaf792e2385c41f57ce3d870 (diff) |
sw: boost::numeric_cast not really ideal in core code
... since that can't handle exceptions particularly well anyway.
Negative position would be a bug anyway, so assert() is appropriate.
Change-Id: Ib246200b3c64ec049fa39835d922092d5a660f55
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/pch/precompiled_sw.hxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx index e085bbacea95..bcad79a6ee39 100644 --- a/sw/inc/pch/precompiled_sw.hxx +++ b/sw/inc/pch/precompiled_sw.hxx @@ -52,7 +52,6 @@ #include <unordered_map> #include <utility> #include <vector> -#include <boost/numeric/conversion/cast.hpp> #include <boost/optional.hpp> #include <boost/optional/optional.hpp> #include <boost/property_tree/json_parser.hpp> |