Author: edslattery
Date: Wed Apr 12 05:39:52 2006
New Revision: 393448

URL: http://svn.apache.org/viewcvs?rev=393448&view=rev
Log:
Fix for VC7

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/RefCountingPointer.h

Modified: 
incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/RefCountingPointer.h
URL: 
http://svn.apache.org/viewcvs/incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/RefCountingPointer.h?rev=393448&r1=393447&r2=393448&view=diff
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/RefCountingPointer.h 
(original)
+++ incubator/tuscany/cpp/sdo/runtime/core/src/commonj/sdo/RefCountingPointer.h 
Wed Apr 12 05:39:52 2006
@@ -43,14 +43,14 @@
 template <class T>
 class RefCountingPointer {
     public:
-        SDO_API RefCountingPointer(T* realPtr = 0);
-        SDO_API RefCountingPointer(const RefCountingPointer& rhs);
-        SDO_API ~RefCountingPointer();
-        SDO_API RefCountingPointer& operator=(const RefCountingPointer& rhs);
-        SDO_API bool operator==(RefCountingPointer& test) const;
-        SDO_API T* operator->() const;
-        SDO_API T& operator*() const;
-        SDO_API bool operator!() const;
+        /*SDO_API*/ RefCountingPointer(T* realPtr = 0);
+        /*SDO_API*/ RefCountingPointer(const RefCountingPointer& rhs);
+        /*SDO_API*/ ~RefCountingPointer();
+        /*SDO_API*/ RefCountingPointer& operator=(const RefCountingPointer& 
rhs);
+        /*SDO_API*/ bool operator==(RefCountingPointer& test) const;
+        /*SDO_API*/ T* operator->() const;
+        /*SDO_API*/ T& operator*() const;
+        /*SDO_API*/ bool operator!() const;
 
 #ifdef MFT
         // MFT == member function templates
@@ -100,27 +100,27 @@
 }
 
 template<class T>
-SDO_API RefCountingPointer<T>::RefCountingPointer(T* realPtr)
+/*SDO_API*/ RefCountingPointer<T>::RefCountingPointer(T* realPtr)
 :pointee(realPtr)
 {
     init();
 }
 
 template<class T>
-SDO_API RefCountingPointer<T>::RefCountingPointer(const RefCountingPointer& 
rhs)
+/*SDO_API*/ RefCountingPointer<T>::RefCountingPointer(const 
RefCountingPointer& rhs)
 : pointee(rhs.pointee)
 {
     init();
 }
 
 template<class T>
-SDO_API RefCountingPointer<T>::~RefCountingPointer()
+/*SDO_API*/ RefCountingPointer<T>::~RefCountingPointer()
 {
     if (pointee)pointee->releaseRef();
 }
 
 template<class T>
-SDO_API RefCountingPointer<T>& RefCountingPointer<T>::operator=(const 
RefCountingPointer& rhs)
+/*SDO_API*/ RefCountingPointer<T>& RefCountingPointer<T>::operator=(const 
RefCountingPointer& rhs)
 {
     if (pointee != rhs.pointee)
     {
@@ -133,25 +133,25 @@
 }
 
 template<class T>
-SDO_API bool RefCountingPointer<T>::operator!() const
+/*SDO_API*/ bool RefCountingPointer<T>::operator!() const
 {
     return (pointee == 0);
 }
 
 template<class T>
-SDO_API bool RefCountingPointer<T>::operator==(RefCountingPointer& test) const
+/*SDO_API*/ bool RefCountingPointer<T>::operator==(RefCountingPointer& test) 
const
 {
     return (pointee == test.pointee);
 }
 
 template<class T>
-SDO_API T* RefCountingPointer<T>::operator->() const 
+/*SDO_API*/ T* RefCountingPointer<T>::operator->() const 
 {
     return pointee;
 }
 
 template<class T>
-SDO_API T& RefCountingPointer<T>::operator*() const
+/*SDO_API*/ T& RefCountingPointer<T>::operator*() const
 {
     return *pointee;
 }


Reply via email to