From 3866f163f9783f1a89240b4f02ab15af9fcd067f Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Thu, 20 Jan 2022 15:31:26 +0100 Subject: [PATCH] writer: small compilation error fix * abg-writer.cc (write_type_record): Fix const-ness in argument passing. Signed-off-by: Dodji Seketeli --- src/abg-writer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abg-writer.cc b/src/abg-writer.cc index 24a1fd56..7906318e 100644 --- a/src/abg-writer.cc +++ b/src/abg-writer.cc @@ -4811,7 +4811,7 @@ write_type_record(xml_writer::write_context& ctxt, // 0x25f9ba8 // - string id = ctxt.get_id_for_type (type); + string id = ctxt.get_id_for_type (const_cast(type)); o << " \n" << " " << id << "\n" << " " -- 2.43.5