Changeset 161793 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jan 11, 2014, 7:23:25 PM (11 years ago)
Author:
[email protected]
Message:

Try again to fix the build.

  • inspector/InspectorAgentRegistry.cpp:
  • inspector/InspectorAgentRegistry.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r161792 r161793  
     12014-01-11  Anders Carlsson  <[email protected]>
     2
     3        Try again to fix the build.
     4
     5        * inspector/InspectorAgentRegistry.cpp:
     6        * inspector/InspectorAgentRegistry.h:
     7
    182014-01-11  Anders Carlsson  <[email protected]>
    29
  • trunk/Source/JavaScriptCore/inspector/InspectorAgentRegistry.cpp

    r161792 r161793  
    3838}
    3939
    40 InspectorAgentRegistry::InspectorAgentRegistry(const InspectorAgentRegistry&)
    41 {
    42 }
    43 
    44 InspectorAgentRegistry::~InspectorAgentRegistry()
    45 {
    46 }
    47 
    4840void InspectorAgentRegistry::append(std::unique_ptr<InspectorAgentBase> agent)
    4941{
  • trunk/Source/JavaScriptCore/inspector/InspectorAgentRegistry.h

    r161792 r161793  
    3939public:
    4040    InspectorAgentRegistry();
    41     ~InspectorAgentRegistry();
    42 
    43     InspectorAgentRegistry(const InspectorAgentRegistry&);
    4441
    4542    void append(std::unique_ptr<InspectorAgentBase>);
     
    5047
    5148private:
     49    // These are declared here to avoid MSVC from trying to create default iplementations which would
     50    // involve generating a copy constructor and copy assignment operator for the Vector of std::unique_ptrs.
     51    InspectorAgentRegistry(const InspectorAgentRegistry&) WTF_DELETED_FUNCTION;
     52    InspectorAgentRegistry& operator=(const InspectorAgentRegistry&) WTF_DELETED_FUNCTION;
     53
    5254    Vector<std::unique_ptr<InspectorAgentBase>> m_agents;
    5355};
Note: See TracChangeset for help on using the changeset viewer.