From c68626dc2eb04d455ebe99555499e994cf6f1847 Mon Sep 17 00:00:00 2001 From: Lars Asplund Date: Sat, 9 Mar 2024 16:15:45 +0100 Subject: [PATCH] Removed Questasim compilation warning. Fixes #981. --- vunit/vhdl/string_ops/src/string_ops.vhd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vunit/vhdl/string_ops/src/string_ops.vhd b/vunit/vhdl/string_ops/src/string_ops.vhd index 44798c38f..7750d4428 100644 --- a/vunit/vhdl/string_ops/src/string_ops.vhd +++ b/vunit/vhdl/string_ops/src/string_ops.vhd @@ -562,7 +562,7 @@ package body string_ops is stop_pos := stop; end if; - if substring = "" then + if substring'length = 0 then return start_pos; end if;