summaryrefslogtreecommitdiff
path: root/databases/mysql57-server/files/patch-sql_json__dom.h
blob: 00734d46143d6a5b31676b95c3aafba4bb970b33 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sql/json_dom.h.orig	2015-11-29 19:16:24 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