Skip to content

Commit f8e6f21

Browse files
Add forward declaration for csv_quote
Introduce a forward declaration for std::string csv_quote(const std::string&) at the top of cmd_sky.cpp so the function can be referenced before its definition, preventing implicit-declaration/compile issues and clarifying intent.
1 parent a844a77 commit f8e6f21

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/query/cmd_sky.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
namespace{
22

3+
std::string csv_quote(const std::string&s);
4+
35
std::string csv_num_or_empty(double value){
46
return std::isfinite(value)?format_num(value):"";
57
}

0 commit comments

Comments
 (0)