From 69fc8d805396b889b5e8c1c88e8129d93db77d29 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sat, 20 Aug 2016 13:56:23 -0400 Subject: Updated API to use exceptions and make tweet/user objects more helpful --- src/direct_message.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/direct_message.h') diff --git a/src/direct_message.h b/src/direct_message.h index 4b5e285..12e254c 100644 --- a/src/direct_message.h +++ b/src/direct_message.h @@ -6,8 +6,9 @@ namespace twitter { class direct_message { - public: - direct_message(std::string data); + public: + + explicit direct_message(std::string data); }; }; -- cgit 1.4.1