summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/utility.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /protocols/Twitter/src/utility.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'protocols/Twitter/src/utility.h')
-rw-r--r--protocols/Twitter/src/utility.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/utility.h b/protocols/Twitter/src/utility.h
index 525e99428c..da2b4eb4a0 100644
--- a/protocols/Twitter/src/utility.h
+++ b/protocols/Twitter/src/utility.h
@@ -30,7 +30,7 @@ uint64_t str2int(const std::string &str);
class mir_twitter : public twitter
{
public:
- mir_twitter() : twitter(), handle_(NULL), httpPOST_(NULL) {}
+ mir_twitter() : twitter(), handle_(nullptr), httpPOST_(nullptr) {}
void set_handle(PROTO_INTERFACE *ppro, HNETLIBUSER h)
{
ppro_ = ppro;
@@ -73,7 +73,7 @@ public:
std::wstring OAuthConcatenateRequestElements( const std::wstring& httpMethod, std::wstring url, const std::wstring& parameters );
std::map<std::wstring, std::wstring> CrackURL(std::wstring );
std::wstring brook_httpsend(std::wstring, std::wstring, std::wstring, std::wstring);
- void Disconnect(void) { if (httpPOST_) Netlib_CloseHandle(httpPOST_); httpPOST_ = NULL; }
+ void Disconnect(void) { if (httpPOST_) Netlib_CloseHandle(httpPOST_); httpPOST_ = nullptr; }
std::wstring OAuthNormalizeUrl( const std::wstring& url );
std::wstring OAuthNormalizeRequestParameters( const OAuthParameters& requestParameters );
OAuthParameters ParseQueryString( const std::wstring& url );