mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
gdbsupport: change xml_escape_text_append's parameter from pointer to reference
The passed in string can't be nullptr, it makes more sense to pass in a reference. Change-Id: Idc8bd38abe1d6d9b44aa227d7856956848c233b3
This commit is contained in:
@@ -28,6 +28,6 @@ extern std::string xml_escape_text (const char *text);
|
||||
/* Append TEXT to RESULT, with special characters replaced by entity
|
||||
references. */
|
||||
|
||||
extern void xml_escape_text_append (std::string *result, const char *text);
|
||||
extern void xml_escape_text_append (std::string &result, const char *text);
|
||||
|
||||
#endif /* COMMON_XML_UTILS_H */
|
||||
|
||||
Reference in New Issue
Block a user