diff options
author | greshilov <slovaricheg@gmail.com> | 2018-02-27 12:35:32 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2018-02-27 17:37:21 +0300 |
commit | 2a1a259af9e89b8d7765b1b59d19c29917986d97 (patch) | |
tree | dc4153443eab84c82a69d6d821c4491c1621229a /drape/hw_texture_ios.mm | |
parent | 2243e44377f7662f4bfb038f2036ab9743473958 (diff) |
[boost] Fix clang build error on boost 1.64
- Fix iOS build
- Review fixes
Diffstat (limited to 'drape/hw_texture_ios.mm')
-rw-r--r-- | drape/hw_texture_ios.mm | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drape/hw_texture_ios.mm b/drape/hw_texture_ios.mm index f51430cf79..68ac455b97 100644 --- a/drape/hw_texture_ios.mm +++ b/drape/hw_texture_ios.mm @@ -11,8 +11,17 @@ #import <Foundation/NSValue.h> #include <boost/integer_traits.hpp> + +/// @todo(greshilov): delete this hack for next boost version (>1.65.0) +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wc++11-narrowing" +#endif #include <boost/gil/algorithm.hpp> #include <boost/gil/typedefs.hpp> +#ifdef __clang__ +#pragma clang diagnostic pop +#endif using boost::gil::gray8c_pixel_t; using boost::gil::gray8_pixel_t; |