VirtualBox

Changeset 37502 in vbox for trunk/include


Ignore:
Timestamp:
Jun 16, 2011 3:20:46 PM (14 years ago)
Author:
vboxsync
Message:

Main;Settings: make the settings copyable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r37200 r37502  
    161161protected:
    162162    ConfigFileBase(const com::Utf8Str *pstrFilename);
     163    /* Note: this copy constructor doesn't create a full copy of other, cause
     164     * the file based stuff (xml doc) could not be copied. */
     165    ConfigFileBase(const ConfigFileBase &other);
     166
    163167    ~ConfigFileBase();
    164168
     
    195199    struct Data;
    196200    Data *m;
    197 
    198 private:
    199     // prohibit copying (Data contains pointers to XML which cannot be copied)
    200     ConfigFileBase(const ConfigFileBase&);
    201201
    202202    friend class ConfigFileError;
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