OSDN Git Service

[core] :
authorcaprice <caprice@users.sourceforge.jp>
Tue, 25 Jun 2013 14:13:33 +0000 (23:13 +0900)
committercaprice <caprice@users.sourceforge.jp>
Tue, 25 Jun 2013 14:13:33 +0000 (23:13 +0900)
使いそうになかったtemplateを削除
class select_のコンストラクタの変更に追従していなかったのを修正

core/include/query.hpp

index e8c1c80..1b5b1bb 100644 (file)
@@ -15,7 +15,6 @@ namespace monazilla { namespace GikoMona { namespace core {
  *       (参考:http://d.hatena.ne.jp/faith_and_brave/20130213/1360737911 )
  */
 
-template <typename ValueType>
 class query final {
 public:
     // query order
@@ -41,11 +40,11 @@ public:
     query& define() { return (*this); }
     select_ select(const column_name_list& columnes,
                     const mona_string& from) {
-        return select_(*this);
+        return select_();
     }
     select_ select(typename select_::select_all_column dummy,
                     const mona_string& from) {
-        return select_(*this);
+        return select_();
     }
     query& insert(const mona_string& into) {}