From 97f8b44c1fa635db5f9454c8b9e1113a101cf1c9 Mon Sep 17 00:00:00 2001 From: Richard Date: Sat, 19 Mar 2022 00:19:34 +0000 Subject: fix library list --- .gitignore | 1 - Plugin.cmake | 2 +- src/connection.cpp | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index e7bf528..567609b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ build/ -examples-test/ \ No newline at end of file diff --git a/Plugin.cmake b/Plugin.cmake index afbb480..cec008c 100644 --- a/Plugin.cmake +++ b/Plugin.cmake @@ -11,7 +11,7 @@ if(NOT PostgreSQL_FOUND AND NOT SQLITE3_FOUND AND NOT MYSQLCONNECTORCPP_FOUND) endif() # Source files -set(CPPFILES src/opcodes.cpp) +set(CPPFILES src/opcodes.cpp src/connection.cpp) set(INCLUDES ${CSOUND_INCLUDE_DIRS} "include") set(LIBS "") diff --git a/src/connection.cpp b/src/connection.cpp index 5ac0aa1..6ad929f 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -109,7 +109,7 @@ void ConnectionData::Exec(char* sql) { } } -MYFLT ConnectionData::Scalar(char* sql, int row=0, int col=0) { +MYFLT ConnectionData::Scalar(char* sql, int row, int col) { if (!open) { throw std::runtime_error(badConnection); } @@ -136,7 +136,7 @@ MYFLT ConnectionData::Scalar(char* sql, int row=0, int col=0) { } -char* ConnectionData::ScalarString(char* sql, int row=0, int col=0) { +char* ConnectionData::ScalarString(char* sql, int row, int col) { if (!open) { throw std::runtime_error(badConnection); } -- cgit v1.2.3