diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-23 10:39:37 +0000 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-02-12 20:04:43 -0500 |
commit | 38a5f7bc3aa73fb88d7b13f7636587f9abd10647 (patch) | |
tree | 56fd57bcf8c2063f41a11b69dbeefe3785884f8b /lib/statement.cpp | |
parent | c97c846887eecc75e2f06c56f5e4b8def63ae7a5 (diff) | |
download | verbly-38a5f7bc3aa73fb88d7b13f7636587f9abd10647.tar.gz verbly-38a5f7bc3aa73fb88d7b13f7636587f9abd10647.tar.bz2 verbly-38a5f7bc3aa73fb88d7b13f7636587f9abd10647.zip |
Fixed some issues that stricter compilers picked up
Diffstat (limited to 'lib/statement.cpp')
-rw-r--r-- | lib/statement.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/statement.cpp b/lib/statement.cpp index 3440acb..6e9e920 100644 --- a/lib/statement.cpp +++ b/lib/statement.cpp | |||
@@ -804,12 +804,12 @@ namespace verbly { | |||
804 | 804 | ||
805 | sql << singleton.table << "." << singleton.column; | 805 | sql << singleton.table << "." << singleton.column; |
806 | 806 | ||
807 | switch (singleton.comparison) | 807 | switch (singleton.cmp) |
808 | { | 808 | { |
809 | case comparison::equals: | 809 | case comparison::equals: |
810 | case comparison::does_not_equal: | 810 | case comparison::does_not_equal: |
811 | { | 811 | { |
812 | if (singleton.comparison == comparison::equals) | 812 | if (singleton.cmp == comparison::equals) |
813 | { | 813 | { |
814 | sql << " = "; | 814 | sql << " = "; |
815 | } else { | 815 | } else { |
@@ -1152,7 +1152,7 @@ namespace verbly { | |||
1152 | return { | 1152 | return { |
1153 | singleton.table, | 1153 | singleton.table, |
1154 | singleton.column, | 1154 | singleton.column, |
1155 | singleton.comparison, | 1155 | singleton.cmp, |
1156 | field_binding { | 1156 | field_binding { |
1157 | tableName, | 1157 | tableName, |
1158 | std::get<1>(std::get<field_binding>(singleton.value)) | 1158 | std::get<1>(std::get<field_binding>(singleton.value)) |