aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Plugin.cmake2
-rw-r--r--src/connection.cpp4
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);
}