From 9bf188bcdf6d777355886360679f26c8e7263881 Mon Sep 17 00:00:00 2001 From: Fei Hao Date: Mon, 15 Jun 2026 13:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20=20Upgrade=20CXX=20standar?= =?UTF-8?q?d=20from=2017=20to=2020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: #366 --- runtime/CMakeLists.txt | 2 +- runtime/processor/wetext_processor.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index f5cc604..519f470 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.14 FATAL_ERROR) project(wetextprocessing VERSION 0.1) -set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD 20) set(CMAKE_VERBOSE_MAKEFILE OFF) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) diff --git a/runtime/processor/wetext_processor.cc b/runtime/processor/wetext_processor.cc index dd342b4..1027a82 100644 --- a/runtime/processor/wetext_processor.cc +++ b/runtime/processor/wetext_processor.cc @@ -14,6 +14,8 @@ #include "processor/wetext_processor.h" +#include "utils/wetext_log.h" + namespace wetext { Processor::Processor(const std::string& tagger_path, const std::string& verbalizer_path) {