From cb56fe90d595ec3dfd0a673165a722574405abbc Mon Sep 17 00:00:00 2001 From: luwenpeng Date: Wed, 28 Aug 2024 18:01:12 +0800 Subject: [PATCH] refactor(infra/snowflake): from *.cpp to *.c --- infra/snowflake/CMakeLists.txt | 2 +- infra/snowflake/{snowflake.cpp => snowflake.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename infra/snowflake/{snowflake.cpp => snowflake.c} (100%) diff --git a/infra/snowflake/CMakeLists.txt b/infra/snowflake/CMakeLists.txt index 7ebc441..246367a 100644 --- a/infra/snowflake/CMakeLists.txt +++ b/infra/snowflake/CMakeLists.txt @@ -1,4 +1,4 @@ -add_library(snowflake snowflake.cpp) +add_library(snowflake snowflake.c) target_include_directories(snowflake PUBLIC ${CMAKE_CURRENT_LIST_DIR}) target_link_libraries(snowflake log) diff --git a/infra/snowflake/snowflake.cpp b/infra/snowflake/snowflake.c similarity index 100% rename from infra/snowflake/snowflake.cpp rename to infra/snowflake/snowflake.c