• Show log

    Commit

  • Hash : 4dc3db73
    Author : Ebrahim Byagowi
    Date : 2020-02-06T12:12:41

    Minor, fix warnings raised when built with -std=c++2a
    
    Follow up to c184180,
    
    It was raising,
    
      src/hb-ot-layout-common.hh:1067:63: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
          | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
                                                                    ^
      src/hb-ot-layout-common.hh:1067:19: note: add an explicit capture of 'this' to capture '*this' by reference
          | hb_filter ([=] (const OffsetTo<TSubTable> &_) { return (this+_).intersects (glyphset, lookup_type); })
                        ^
                         , this
    
    and
    
      src/hb-ot-layout-common.hh:2626:38: warning: implicit capture of 'this' with a capture default of '=' is deprecated [-Wdeprecated-this-capture]
                      { r.collect_lookups (this, lookup_indexes); })
                                           ^
      src/hb-ot-layout-common.hh:2625:18: note: add an explicit capture of 'this' to capture '*this' by reference
          | hb_apply ([=] (const FeatureTableSubstitutionRecord& r)
                       ^
                        , this
    
    and
    
      src/hb-ot-hdmx-table.hh:141:44: error: implicit capture of 'this' with a capture default of '=' is deprecated [-Werror,-Wdeprecated-this-capture]
                              return device_record->widthsZ.as_array (get_num_glyphs ()) [_];
                                                                      ^
      src/hb-ot-hdmx-table.hh:137:17: note: add an explicit capture of 'this' to capture '*this' by reference
                  | hb_map ([=] (hb_codepoint_t _)
                             ^
                              , this
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/harfbuzz.git
    Git SSH git@git.kmx.io:kc3-lang/harfbuzz.git
    Public access ? public
    Description

    HarfBuzz text shaping engine

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg thodg_l
    Tags