diff --git a/include/api.h b/include/api.h index 3104230..97abe45 100644 --- a/include/api.h +++ b/include/api.h @@ -72,7 +72,7 @@ class API std::string getErrorMessage() { return this->error_message; }; std::string getToken() { return this->config.oauth_token; }; std::string getSecret() { return this->config.oauth_secret; }; - template CURLcode curlSetOpt(CURLoption option, T value) { return curl_easy_setopt(this->curlhandle, option, value); }; + template CURLcode curlSetOpt(CURLoption option, T value) { return curl_easy_setopt(this->curlhandle, option, value); } virtual ~API(); protected: private: diff --git a/include/globalconstants.h b/include/globalconstants.h index 47ada3a..2ae0f96 100644 --- a/include/globalconstants.h +++ b/include/globalconstants.h @@ -74,6 +74,6 @@ namespace GlobalConstants { PLATFORM_MAC, "mac", "Mac" , "m|mac|osx" }, { PLATFORM_LINUX, "linux", "Linux" , "l|lin|linux" } }; -}; +} #endif // GLOBALCONSTANTS_H_INCLUDED