From e5888ec7b720e7f9e3b37a171ce0e1435c1404a6 Mon Sep 17 00:00:00 2001 From: Alvaro Tolosa Delgado Date: Thu, 7 Nov 2024 09:37:45 +0100 Subject: [PATCH] this fixes compilation error 'multiple definition' of the insertion operator --- DDRec/include/DDRec/DCH_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDRec/include/DDRec/DCH_info.h b/DDRec/include/DDRec/DCH_info.h index 6dbec27b8..3d8513789 100644 --- a/DDRec/include/DDRec/DCH_info.h +++ b/DDRec/include/DDRec/DCH_info.h @@ -183,7 +183,7 @@ struct DCH_info_struct }; typedef StructExtension DCH_info ; -std::ostream& operator<<( std::ostream& io , const DCH_info& d ){d.Show_DCH_info_database(io); return io;} +inline std::ostream& operator<<( std::ostream& io , const DCH_info& d ){d.Show_DCH_info_database(io); return io;} inline void DCH_info_struct::BuildLayerDatabase() {