From e24dbdc496debec225414d4d2c760f5775e64f2a Mon Sep 17 00:00:00 2001 From: 天地 <tiandiweizun@gmail.com> Date: 星期三, 26 三月 2025 13:44:41 +0800 Subject: [PATCH] 感觉应该从文件读取更合适,因为上面判断了文件存在,且可以读取,如果本身是文本的话,下面也会有逻辑进行处理 (#2452) --- runtime/onnxruntime/third_party/glog/src/stacktrace_unittest.cc | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/runtime/onnxruntime/third_party/glog/src/stacktrace_unittest.cc b/runtime/onnxruntime/third_party/glog/src/stacktrace_unittest.cc index b92961c..6d3c21a 100644 --- a/runtime/onnxruntime/third_party/glog/src/stacktrace_unittest.cc +++ b/runtime/onnxruntime/third_party/glog/src/stacktrace_unittest.cc @@ -27,15 +27,14 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -#include "stacktrace.h" +#include "utilities.h" #include <cstdio> #include <cstdlib> - -#include "base/commandlineflags.h" #include "config.h" -#include "glog/logging.h" -#include "utilities.h" +#include "base/commandlineflags.h" +#include <glog/logging.h> +#include "stacktrace.h" #ifdef HAVE_EXECINFO_BACKTRACE_SYMBOLS # include <execinfo.h> -- Gitblit v1.9.1