Introduce CP_OPERATOR_STR/CP_OPERATOR_LEN and use throughout
[deliverable/binutils-gdb.git] / gdb / c-typeprint.c
index 9e197f5721fcebdfe3bb7c7a9fbda486b517ea76..890888bd4f9da17720932344061016db43b70aca 100644 (file)
@@ -547,7 +547,7 @@ is_type_conversion_operator (struct type *type, int i, int j)
      some other way, feel free to rewrite this function.  */
   const char *name = TYPE_FN_FIELDLIST_NAME (type, i);
 
-  if (!startswith (name, "operator"))
+  if (!startswith (name, CP_OPERATOR_STR))
     return 0;
 
   name += 8;
This page took 0.041847 seconds and 4 git commands to generate.