VirtualBox

Changeset 106517 in vbox


Ignore:
Timestamp:
Oct 20, 2024 2:27:17 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
165349
Message:

NetworkServices/Dhcpd: DhcpOption needs a copy assignment operator too as it urns it and the rest of DhcpOptions.h is in Main while appearing to be an internal DHCP server file. Stupid mess. jiraref:VBP-1171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/Dhcpd/DhcpOptions.h

    r106061 r106517  
    22/** @file
    33 * DHCP server - DHCP options
     4 *
     5 * @note This file is also used by Main!
     6 * @todo r=bird: Move to global include directory.
    47 */
    58
     
    6972    virtual ~DhcpOption()
    7073    {}
     74
     75#if RT_CPLUSPLUS_PREREQ(201100) /* VC2022: Excplit default copy constructor and copy assignment operator to avoid warnings. */
     76    DhcpOption(DhcpOption const &) = default;
     77    DhcpOption &operator=(DhcpOption const &) = default;
     78#endif
    7179
    7280public:
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