summaryrefslogtreecommitdiff
path: root/glib/src/markup.hg
diff options
context:
space:
mode:
Diffstat (limited to 'glib/src/markup.hg')
-rw-r--r--glib/src/markup.hg6
1 files changed, 3 insertions, 3 deletions
diff --git a/glib/src/markup.hg b/glib/src/markup.hg
index 14c4163b..1075f690 100644
--- a/glib/src/markup.hg
+++ b/glib/src/markup.hg
@@ -97,7 +97,7 @@ namespace Markup
class ParseContext;
/** @ingroup Markup */
-typedef Glib::MarkupError Error;
+using Error = Glib::MarkupError;
/** Escapes text so that the markup parser will parse it verbatim.
@@ -132,8 +132,8 @@ _WRAP_ENUM(ParseFlags, GMarkupParseFlags, NO_GTYPE, s#^MARKUP_##)
class AttributeKeyLess
{
public:
- typedef Glib::ustring first_argument_type;
- typedef Glib::ustring second_argument_type;
+ using first_argument_type = Glib::ustring;
+ using second_argument_type = Glib::ustring;
typedef bool result_type;
bool operator()(const Glib::ustring& lhs, const Glib::ustring& rhs) const;