From 50360a9d90ebbb95e04cb29061a337483187efba Mon Sep 17 00:00:00 2001 From: Kai Aoki Date: Thu, 16 Oct 2025 18:05:24 +0900 Subject: [PATCH] Follow naming rules --- common/arg.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/arg.cpp b/common/arg.cpp index 27be6536cc..ec86de1c45 100644 --- a/common/arg.cpp +++ b/common/arg.cpp @@ -874,13 +874,13 @@ bool common_params_to_map(int argc, char ** argv, llama_example ex, std::map buf; std::vector ptrs; }; -static Utf8Argv make_utf8_argv_from_winapi() { - Utf8Argv out; +static utf8_argv make_utf8_argv() { + utf8_argv out; int wargc = 0; LPWSTR* wargv = CommandLineToArgvW(GetCommandLineW(), &wargc); if (!wargv) return out; @@ -904,7 +904,7 @@ static Utf8Argv make_utf8_argv_from_winapi() { bool common_params_parse(int argc, char ** argv, common_params & params, llama_example ex, void(*print_usage)(int, char **)) { #ifdef _WIN32 - auto utf8 = make_utf8_argv_from_winapi(); + auto utf8 = make_utf8_argv(); if (!utf8.ptrs.empty()) { argc = static_cast(utf8.buf.size()); argv = utf8.ptrs.data();