ResInsight/Fwk/AppFwk/cafProjectDataModel/cafPdmCore/cafPdmBase.h
Magne Sjaastad bfda6519db
Cleanup includes
Use new tools in Visual Studio to help cleaning up includes and remove redundant includes.
2024-03-07 19:45:43 +01:00

8 lines
275 B
C

#pragma once
// Macro to disable the copy constructor and assignment operator
// Should be used in the private section of a class
#define PDM_DISABLE_COPY_AND_ASSIGN( CLASS_NAME ) \
CLASS_NAME( const CLASS_NAME& ); \
void operator=( const CLASS_NAME& )