diff options
-rw-r--r-- | blessed.cpp | 5 | ||||
m--------- | vendor/verbly | 0 |
2 files changed, 3 insertions, 2 deletions
diff --git a/blessed.cpp b/blessed.cpp index f3d90c4..faac3f8 100644 --- a/blessed.cpp +++ b/blessed.cpp | |||
@@ -5,6 +5,7 @@ | |||
5 | #include <sstream> | 5 | #include <sstream> |
6 | #include <twitcurl.h> | 6 | #include <twitcurl.h> |
7 | #include <verbly.h> | 7 | #include <verbly.h> |
8 | #include <unistd.h> | ||
8 | 9 | ||
9 | int main(int argc, char** argv) | 10 | int main(int argc, char** argv) |
10 | { | 11 | { |
@@ -53,8 +54,8 @@ int main(int argc, char** argv) | |||
53 | std::string exclamation; | 54 | std::string exclamation; |
54 | for (;;) | 55 | for (;;) |
55 | { | 56 | { |
56 | verbly::verb v = database.verbs().random(true).limit(1).has_pronunciation(true).run().front(); | 57 | verbly::verb v = database.verbs().random().limit(1).has_pronunciation().run().front(); |
57 | auto rhyms = database.nouns().rhymes_with(v).random(true).limit(1).not_derived_from(v).is_not_proper(true).run(); | 58 | auto rhyms = database.nouns().rhymes_with(v).random().limit(1).is_not_proper().run(); |
58 | if (!rhyms.empty()) | 59 | if (!rhyms.empty()) |
59 | { | 60 | { |
60 | auto n = rhyms.front(); | 61 | auto n = rhyms.front(); |
diff --git a/vendor/verbly b/vendor/verbly | |||
Subproject dc210ee6eba3b1d173808bd858113f6abd90bff | Subproject 4c94e100e87a09284f0e0a5bc0df688672492a1 | ||