From 15b86eaf3bf661cff9f21d9b53a334a7b5e358e4 Mon Sep 17 00:00:00 2001 From: "HuYingzhuo(hugo/hyzboy)" Date: Tue, 10 Oct 2023 10:56:36 +0800 Subject: [PATCH] added deconstruct function for TextInputStream --- inc/hgl/io/TextInputStream.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/hgl/io/TextInputStream.h b/inc/hgl/io/TextInputStream.h index ebb75c0..3c6d63f 100644 --- a/inc/hgl/io/TextInputStream.h +++ b/inc/hgl/io/TextInputStream.h @@ -24,6 +24,8 @@ namespace hgl public: + virtual ~ParseCallback()=default; + virtual bool OnBOM(const ByteOrderMask &){return true;} ///<读取到BOM头的回调函数 virtual bool OnLine(T *text,const int len){return true;}