Skip to content

Commit 9bf188b

Browse files
committed
⬆️ Upgrade CXX standard from 17 to 20
Issue-ID: #366
1 parent e5a76f6 commit 9bf188b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

runtime/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
22

33
project(wetextprocessing VERSION 0.1)
4-
set(CMAKE_CXX_STANDARD 17)
4+
set(CMAKE_CXX_STANDARD 20)
55

66
set(CMAKE_VERBOSE_MAKEFILE OFF)
77
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

runtime/processor/wetext_processor.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
#include "processor/wetext_processor.h"
1616

17+
#include "utils/wetext_log.h"
18+
1719
namespace wetext {
1820
Processor::Processor(const std::string& tagger_path,
1921
const std::string& verbalizer_path) {

0 commit comments

Comments
 (0)