Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite date formatting and parsing #1076

Merged
merged 10 commits into from
Mar 21, 2019
10 changes: 0 additions & 10 deletions Release/include/cpprest/asyncrt_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -630,15 +630,6 @@ class datetime
static const interval_type _hourTicks = 60 * 60 * _secondTicks;
static const interval_type _dayTicks = 24 * 60 * 60 * _secondTicks;

#ifdef _WIN32
// void* to avoid pulling in windows.h
static _ASYNCRTIMP bool __cdecl system_type_to_datetime(/*SYSTEMTIME*/ void* psysTime,
uint64_t seconds,
datetime* pdt);
#else
static datetime timeval_to_datetime(const timeval& time);
#endif

// Private constructor. Use static methods to create an instance.
datetime(interval_type interval) : m_interval(interval) {}

Expand Down Expand Up @@ -699,7 +690,6 @@ class nonce_generator
void set_length(int length) { m_length = length; }

private:
static const utility::string_t c_allowed_chars;
std::mt19937 m_random;
int m_length;
};
Expand Down
1 change: 0 additions & 1 deletion Release/src/pch/stdafx.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
#undef BOOST_NO_CXX11_NULLPTR
#endif
#include "boost/bind/bind.hpp"
#include "boost/date_time/posix_time/posix_time_types.hpp"
#include "boost/thread/condition_variable.hpp"
#include "boost/thread/mutex.hpp"
#include <fcntl.h>
Expand Down
Loading