diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-24 21:55:56 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-01-24 21:55:56 -0500 |
commit | 6ba8989bbbd497f949a3e8b17abed1d0bd048347 (patch) | |
tree | da287be3a2a130c193bdee880dbb93dbedb05455 /lib | |
parent | e1fa4a088dd95caef22045f905a9d5d22b71bef0 (diff) | |
download | verbly-6ba8989bbbd497f949a3e8b17abed1d0bd048347.tar.gz verbly-6ba8989bbbd497f949a3e8b17abed1d0bd048347.tar.bz2 verbly-6ba8989bbbd497f949a3e8b17abed1d0bd048347.zip |
Removed some debug output
Diffstat (limited to 'lib')
-rw-r--r-- | lib/form.cpp | 1 | ||||
-rw-r--r-- | lib/frame.cpp | 1 | ||||
-rw-r--r-- | lib/query.h | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/form.cpp b/lib/form.cpp index ef9703a..5d4c343 100644 --- a/lib/form.cpp +++ b/lib/form.cpp | |||
@@ -66,7 +66,6 @@ namespace verbly { | |||
66 | if (!pronunciations.empty()) | 66 | if (!pronunciations.empty()) |
67 | { | 67 | { |
68 | return std::any_of(std::begin(pronunciations), std::end(pronunciations), [] (const verbly::pronunciation& p) { | 68 | return std::any_of(std::begin(pronunciations), std::end(pronunciations), [] (const verbly::pronunciation& p) { |
69 | std::cout << "phonemes: " << implode(std::begin(p.getPhonemes()), std::end(p.getPhonemes()), ",") << std::endl; | ||
70 | return p.getPhonemes().front().find_first_of("012") != std::string::npos; | 69 | return p.getPhonemes().front().find_first_of("012") != std::string::npos; |
71 | }); | 70 | }); |
72 | } else { | 71 | } else { |
diff --git a/lib/frame.cpp b/lib/frame.cpp index 3ce95ec..8cab56b 100644 --- a/lib/frame.cpp +++ b/lib/frame.cpp | |||
@@ -16,7 +16,6 @@ namespace verbly { | |||
16 | { | 16 | { |
17 | id_ = sqlite3_column_int(row, 0); | 17 | id_ = sqlite3_column_int(row, 0); |
18 | 18 | ||
19 | // TODO: Initialize frame data from row. | ||
20 | std::string partsJsonStr(reinterpret_cast<const char*>(sqlite3_column_blob(row, 1))); | 19 | std::string partsJsonStr(reinterpret_cast<const char*>(sqlite3_column_blob(row, 1))); |
21 | nlohmann::json partsJson = nlohmann::json::parse(std::move(partsJsonStr)); | 20 | nlohmann::json partsJson = nlohmann::json::parse(std::move(partsJsonStr)); |
22 | 21 | ||
diff --git a/lib/query.h b/lib/query.h index 352748f..214bf99 100644 --- a/lib/query.h +++ b/lib/query.h | |||
@@ -31,8 +31,6 @@ namespace verbly { | |||
31 | std::string queryString = stmt.getQueryString(Object::select, random, limit); | 31 | std::string queryString = stmt.getQueryString(Object::select, random, limit); |
32 | std::list<binding> bindings = stmt.getBindings(); | 32 | std::list<binding> bindings = stmt.getBindings(); |
33 | 33 | ||
34 | std::cout << queryString << std::endl; | ||
35 | |||
36 | if (sqlite3_prepare_v2(ppdb, queryString.c_str(), queryString.length(), &ppstmt_, NULL) != SQLITE_OK) | 34 | if (sqlite3_prepare_v2(ppdb, queryString.c_str(), queryString.length(), &ppstmt_, NULL) != SQLITE_OK) |
37 | { | 35 | { |
38 | std::string errorMsg = sqlite3_errmsg(ppdb); | 36 | std::string errorMsg = sqlite3_errmsg(ppdb); |