From 34693cd772bb891f30b584814b52fac6d4e4b4cc Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Sat, 11 Nov 2023 15:28:05 +0100 Subject: [PATCH] Make function Network::spec pure virtual Signed-off-by: Stefan Weil --- src/lstm/network.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lstm/network.h b/src/lstm/network.h index 0a62baf29b..feb1206f58 100644 --- a/src/lstm/network.h +++ b/src/lstm/network.h @@ -140,9 +140,7 @@ class TESS_API Network { const std::string &name() const { return name_; } - virtual std::string spec() const { - return "?"; - } + virtual std::string spec() const = 0; bool TestFlag(NetworkFlags flag) const { return (network_flags_ & flag) != 0; }