Skip to content

Commit b58f1d7

Browse files
committed
tidy:将ParseAs()重命名为了StringTo()
1 parent 040fca4 commit b58f1d7

File tree

8 files changed

+282
-267
lines changed

8 files changed

+282
-267
lines changed

modules/util/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ set(TBOX_UTIL_HEADERS
4848
fd.h
4949
scalable_integer.h
5050
variables.h
51-
parse_as.h
51+
string_to.h
5252
)
5353

5454
set(TBOX_UTIL_SOURCES
@@ -70,7 +70,7 @@ set(TBOX_UTIL_SOURCES
7070
fd.cpp
7171
scalable_integer.cpp
7272
variables.cpp
73-
parse_as.cpp
73+
string_to.cpp
7474
)
7575

7676
set(TBOX_UTIL_TEST_SOURCES
@@ -90,7 +90,7 @@ set(TBOX_UTIL_TEST_SOURCES
9090
fd_test.cpp
9191
scalable_integer_test.cpp
9292
variables_test.cpp
93-
parse_as_test.cpp
93+
string_to_test.cpp
9494
)
9595

9696
add_library(${TBOX_LIBRARY_NAME} ${TBOX_BUILD_LIB_TYPE} ${TBOX_UTIL_SOURCES})

modules/util/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ HEAD_FILES = \
4343
fd.h \
4444
scalable_integer.h \
4545
variables.h \
46-
parse_as.h \
46+
string_to.h \
4747

4848
CPP_SRC_FILES = \
4949
pid_file.cpp \
@@ -64,7 +64,7 @@ CPP_SRC_FILES = \
6464
fd.cpp \
6565
scalable_integer.cpp \
6666
variables.cpp \
67-
parse_as.cpp \
67+
string_to.cpp \
6868

6969
CXXFLAGS := -DMODULE_ID='"tbox.util"' $(CXXFLAGS)
7070

@@ -87,7 +87,7 @@ TEST_CPP_SRC_FILES = \
8787
fd_test.cpp \
8888
scalable_integer_test.cpp \
8989
variables_test.cpp \
90-
parse_as_test.cpp \
90+
string_to_test.cpp \
9191

9292
TEST_LDFLAGS := $(LDFLAGS) -ltbox_base -ldl
9393

modules/util/parse_as.cpp

Lines changed: 0 additions & 108 deletions
This file was deleted.

modules/util/parse_as.h

Lines changed: 0 additions & 49 deletions
This file was deleted.

modules/util/parse_as_test.cpp

Lines changed: 0 additions & 104 deletions
This file was deleted.

0 commit comments

Comments
 (0)