moved declaration of time_now() into time.hpp

This commit is contained in:
Arvid Norberg 2013-07-21 05:05:00 +00:00
parent 117ad86158
commit 329ed1bdde
3 changed files with 3 additions and 8 deletions

View File

@ -124,13 +124,5 @@ namespace libtorrent
#endif // TORRENT_USE_BOOST_DATE_TIME
namespace libtorrent
{
char const* time_now_string();
std::string log_time();
TORRENT_EXPORT ptime const& time_now();
}
#endif

View File

@ -44,7 +44,9 @@ namespace libtorrent
char const* time_now_string();
std::string log_time();
TORRENT_EXPORT ptime const& time_now();
TORRENT_EXPORT ptime time_now_hires();
TORRENT_EXPORT ptime min_time();
TORRENT_EXPORT ptime max_time();

View File

@ -31,6 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
*/
#include "libtorrent/kademlia/logging.hpp"
#include "libtorrent/time.hpp"
namespace libtorrent { namespace dht
{