VirtualBox

Changeset 99741 in vbox for trunk/src/libs


Ignore:
Timestamp:
May 11, 2023 9:19:55 AM (19 months ago)
Author:
vboxsync
Message:

Main: More Clang 13 build fixes (warnings as errors).

Location:
trunk/src/libs/xpcom18a4/xpcom/string/public
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/string/public/nsTDependentSubstring.h

    r91528 r99741  
    8080
    8181      // auto-generated copy-constructor OK (XXX really?? what about base class copy-ctor?)
    82 
     82#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
     83      nsTDependentSubstring_CharT(nsTDependentSubstring_CharT const&) = default;
     84#endif
    8385    private:
    8486        // we're immutable, you can't assign into a substring
  • trunk/src/libs/xpcom18a4/xpcom/string/public/nsTPromiseFlatString.h

    r91528 r99741  
    133133          Assign(tuple);
    134134        }
     135
     136#if RT_CLANG_PREREQ(13, 0) /* To shut up Clang 13 (-Wdeprecated-copy). */
     137      nsTPromiseFlatString_CharT(nsTPromiseFlatString_CharT const&) = default;
     138#endif
    135139  };
    136140
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette