[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kdeutil/kde/io
From:       Tim Jansen <tim () tjansen ! de>
Date:       2003-11-03 0:35:59
[Download RAW message or body]

CVS commit by tjansen: 

use operator= instead of copy()


  M +1 -2      ioexception.h   1.2
  M +1 -1      osioexception.h   1.2


--- kdenonbeta/kdeutil/kde/io/ioexception.h  #1.1:1.2
@@ -45,5 +45,4 @@ protected:
         }
 
-        // no copy() needed as IOException does not have extra fields
 public:
         /**
@@ -71,5 +70,5 @@ public:
                 if (this == &e)
                         return *this;
-                copy(e);
+                Exception::operator=(e);
                 return *this;
         }

--- kdenonbeta/kdeutil/kde/io/osioexception.h  #1.1:1.2
@@ -83,5 +83,5 @@ public:
                 if (this == &e)
                         return *this;
-                copy(e);
+                Exception::operator=(e);
                 mErrnum = e.mErrnum;
                 mErrDescription = e.mErrDescription;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic