aboutsummaryrefslogtreecommitdiff
path: root/src/postgresql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/postgresql.cpp')
-rw-r--r--src/postgresql.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/postgresql.cpp b/src/postgresql.cpp
index 681c133..882081f 100644
--- a/src/postgresql.cpp
+++ b/src/postgresql.cpp
@@ -61,7 +61,7 @@ pqxx::result PostgresConnection::Query(char* sql) {
return result;
}
-MYFLT PostgresConnection::Scalar(char* sql, int row=0, int col=0) {
+MYFLT PostgresConnection::Scalar(char* sql, int row, int col) {
pqxx::result result = Query(sql);
// checks as libpqxx not throwing if this happens
@@ -75,7 +75,7 @@ MYFLT PostgresConnection::Scalar(char* sql, int row=0, int col=0) {
return result[row][col].as<MYFLT>();
}
-char* PostgresConnection::ScalarString(char* sql, int row=0, int col=0) {
+char* PostgresConnection::ScalarString(char* sql, int row, int col) {
pqxx::result result = Query(sql);
// checks as libpqxx not throwing if this happens