[Groonga-mysql-commit] mroonga/mroonga at 95323d2 [master] Use static_cast

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Sat Aug 8 22:27:29 JST 2015


Kouhei Sutou	2015-08-08 22:27:29 +0900 (Sat, 08 Aug 2015)

  New Revision: 95323d2ecdded9d374a89df0f46b5af162396178
  https://github.com/mroonga/mroonga/commit/95323d2ecdded9d374a89df0f46b5af162396178

  Message:
    Use static_cast

  Modified files:
    ha_mroonga.cpp

  Modified: ha_mroonga.cpp (+1 -2)
===================================================================
--- ha_mroonga.cpp    2015-08-08 22:14:49 +0900 (28c3e6c)
+++ ha_mroonga.cpp    2015-08-08 22:27:29 +0900 (145eed9)
@@ -1615,8 +1615,7 @@ static int mrn_init(void *p)
 {
   // init handlerton
   grn_ctx *ctx = NULL;
-  handlerton *hton;
-  hton = (handlerton *)p;
+  handlerton *hton = static_cast<handlerton *>(p);
   hton->state = SHOW_OPTION_YES;
   hton->create = mrn_handler_create;
   hton->flags = HTON_NO_FLAGS;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Zurück zum Archiv-Index