diff --git a/src/odb/src/defout/defout_impl.cpp b/src/odb/src/defout/defout_impl.cpp index d92f0da147d..42a36dcff1e 100644 --- a/src/odb/src/defout/defout_impl.cpp +++ b/src/odb/src/defout/defout_impl.cpp @@ -102,11 +102,11 @@ const char* defOrient(dbOrientType orient) return "N"; } -const char* defSigType(dbSigType type) +const char* defSigType(const dbSigType& type) { return type.getString(); } -const char* defIoType(dbIoType type) +const char* defIoType(const dbIoType& type) { return type.getString(); }