VirtualBox

Ignore:
Timestamp:
Oct 1, 2021 6:42:13 PM (3 years ago)
Author:
vboxsync
Message:

xpcom: ​bugref:9790 - Placate -Wdeprecated-copy that is upset by
operator= that is declared private (and not implemented, but the
compiler doesn't know that). Make this explicit with =delete when in
C++11 mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/base/nscore.h

    r40426 r91528  
    420420  */
    421421#endif
    422  
     422
     423#if __cplusplus+0 > 201100L
     424#define NS_DEFAULT  = default
     425#define NS_DELETE   = delete
     426#else
     427#define NS_DEFAULT
     428#define NS_DELETE
     429#endif
     430
     431
    423432#ifndef VBOX
    424433/*
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