ソースを参照

Use covariant return types.

Sascha Zelzer 13 年 前
コミット
8f0921f8df
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      Libs/Core/ctkException.h

+ 1 - 1
Libs/Core/ctkException.h

@@ -175,7 +175,7 @@ CTK_CORE_EXPORT QDebug operator<<(QDebug dbg, const ctkException& exc);
   {                                                                      \
     return NAME;                                                         \
   }                                                                      \
-  ctkException* CLS::clone() const                                       \
+  CLS* CLS::clone() const                                                \
   {                                                                      \
     return new CLS(*this);                                               \
   }