diff --git a/README.md b/README.md index a0ec936..17dd493 100644 --- a/README.md +++ b/README.md @@ -293,7 +293,7 @@ DROP TABLE my_table IF EXISTS Author: Kyle Lahnakoski
License (Mozilla Public License 2.0): https://github.com/klahnakoski/mo-sql-parsing/blob/dev/LICENSE -- [Fast C++ CSV pParser](https://github.com/ben-strasser/fast-cpp-csv-parser)
+- [Fast C++ CSV Parser](https://github.com/ben-strasser/fast-cpp-csv-parser)
Author: Ben Strasser
License (BSD 3-Clause License): https://github.com/ben-strasser/fast-cpp-csv-parser/blob/master/LICENSE diff --git a/server/libaquery.cpp b/server/libaquery.cpp index 320852a..93a03da 100644 --- a/server/libaquery.cpp +++ b/server/libaquery.cpp @@ -474,7 +474,7 @@ aq_to_chars(void* value, char* buffer) { } template<> -inline char* +char* aq_to_chars(void* value, char* buffer) { const auto src = *static_cast(value); const auto len = strlen(src); @@ -483,7 +483,7 @@ aq_to_chars(void* value, char* buffer) { } template<> -inline char* +char* aq_to_chars(void* value, char* buffer) { const auto& src = *static_cast(value); buffer = to_text(buffer, src.year); @@ -495,7 +495,7 @@ aq_to_chars(void* value, char* buffer) { } template<> -inline char* +char* aq_to_chars(void* value, char* buffer) { const auto& src = *static_cast(value); buffer = to_text(buffer, src.hours); @@ -509,12 +509,12 @@ aq_to_chars(void* value, char* buffer) { } template<> -inline char* +char* aq_to_chars(void* value, char* buffer) { auto& src = *static_cast(value); buffer = aq_to_chars(static_cast(&src.date), buffer); *buffer++ = ' '; - buffer = aq_to_chars(static_cast(&src.time), buffer); + buffer = aq_to_chars(static_cast(&src.time), buffer); return buffer; }