summaryrefslogtreecommitdiff
path: root/databases/mysql57-server/files/patch-sql_json__dom.h
blob: 08f2482e9b335dc71b7318321cfdb85f3a2789b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sql/json_dom.h.orig	2016-03-28 18:06:12 UTC
+++ sql/json_dom.h
@@ -368,7 +368,7 @@ struct Json_key_comparator
   Json_object class.
 */
 typedef std::map<std::string, Json_dom *, Json_key_comparator,
-  Malloc_allocator<std::pair<std::string, Json_dom *> > > Json_object_map;
+  Malloc_allocator<std::pair<const std::string, Json_dom *> > > Json_object_map;
 
 /**
   Represents a JSON container value of type "object" (ECMA), type