[Groonga-commit] groonga/grnxx at 1ce1364 [master] Add a missing throw.

Back to archive index

susumu.yata null+****@clear*****
Tue Mar 17 15:53:44 JST 2015


susumu.yata	2015-03-17 15:53:44 +0900 (Tue, 17 Mar 2015)

  New Revision: 1ce1364d0e9d50b0f07ec5c25eeed7535b99b6b9
  https://github.com/groonga/grnxx/commit/1ce1364d0e9d50b0f07ec5c25eeed7535b99b6b9

  Message:
    Add a missing throw.

  Modified files:
    lib/grnxx/impl/index.cpp

  Modified: lib/grnxx/impl/index.cpp (+3 -0)
===================================================================
--- lib/grnxx/impl/index.cpp    2015-03-17 15:51:04 +0900 (500685f)
+++ lib/grnxx/impl/index.cpp    2015-03-17 15:53:44 +0900 (a2fdc81)
@@ -1424,6 +1424,9 @@ Index *Index::create(ColumnBase *column,
         }
       }
     }
+    default: {
+      throw "Undefined index type";  // TODO
+    }
   }
 } catch (const std::bad_alloc &) {
   throw "Memory allocation failed";  // TODO
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index