From 27a12c8a0f7d0e7844c60c3c2ed7af38398ef09e Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Wed, 12 Feb 2003 18:56:48 +0000 Subject: [PATCH] removed --- src/gdd/smartGDDPointer.cc | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 src/gdd/smartGDDPointer.cc diff --git a/src/gdd/smartGDDPointer.cc b/src/gdd/smartGDDPointer.cc deleted file mode 100644 index d95b5c623..000000000 --- a/src/gdd/smartGDDPointer.cc +++ /dev/null @@ -1,38 +0,0 @@ -/*************************************************************************\ -* Copyright (c) 2002 The University of Chicago, as Operator of Argonne -* National Laboratory. -* Copyright (c) 2002 The Regents of the University of California, as -* Operator of Los Alamos National Laboratory. -* EPICS BASE Versions 3.13.7 -* and higher are distributed subject to a Software License Agreement found -* in file LICENSE that is included with this distribution. -\*************************************************************************/ - -// -// Smart Pointer Class for GDD -// ( automatically takes care of referencing / unreferening a gdd each time that it is used ) -// -// Author: Jeff Hill -// - -#define epicsExportSharedSymbols -#include "smartGDDPointer.h" - -// -// smartGDDPointer::set() -// -void smartConstGDDPointer::set ( const gdd * pNewValue ) -{ - if ( pNewValue != this->pConstValue ) { - int gddStatus; - if ( pNewValue != NULL ) { - gddStatus = pNewValue->reference(); - assert ( ! gddStatus ); - } - if ( this->pConstValue != NULL ) { - gddStatus = this->pConstValue->unreference(); - assert ( ! gddStatus ); - } - this->pConstValue = pNewValue; - } -}