From 42741a3659281ffbef259eafeeb127b3286506cf Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 8 Nov 2017 15:42:37 -0500 Subject: Updated verbly (datafile versioning) --- grunge.cpp | 8 ++++---- vendor/verbly | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/grunge.cpp b/grunge.cpp index de9061e..2f6783c 100644 --- a/grunge.cpp +++ b/grunge.cpp @@ -16,6 +16,10 @@ grunge::grunge( // Load the config file. YAML::Node config = YAML::LoadFile(configFile); + // Set up the verbly database. + database_ = std::unique_ptr( + new verbly::database(config["verbly_datafile"].as())); + // Set up the Twitter client. twitter::auth auth; auth.setConsumerKey(config["consumer_key"].as()); @@ -24,10 +28,6 @@ grunge::grunge( auth.setAccessSecret(config["access_secret"].as()); client_ = std::unique_ptr(new twitter::client(auth)); - - // Set up the verbly database. - database_ = std::unique_ptr( - new verbly::database(config["verbly_datafile"].as())); } void grunge::run() const diff --git a/vendor/verbly b/vendor/verbly index 59eab84..350bfdb 160000 --- a/vendor/verbly +++ b/vendor/verbly @@ -1 +1 @@ -Subproject commit 59eab842de02b2b2ba8bf53e2214b558457e6356 +Subproject commit 350bfdb5ea9b4f7e50746c50a46d8032cbc5a104 -- cgit 1.4.1