From a259731db05ce2115c26926a6d1fef577d30cb24 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 26 七月 2024 14:17:18 +0800
Subject: [PATCH] update sample new

---
 jrj/xframe/src/xstring.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jrj/xframe/src/xstring.cpp b/jrj/xframe/src/xstring.cpp
index ff59009..7beca1e 100644
--- a/jrj/xframe/src/xstring.cpp
+++ b/jrj/xframe/src/xstring.cpp
@@ -379,7 +379,7 @@
 
 xstring::operator bool()
 {
-    return this->isEmpty();
+    return !this->isEmpty();
 }
 
 const wchar_t* xstring::c_str(bool bclone) const{

--
Gitblit v1.9.3