moved declaration of time_now() into time.hpp
This commit is contained in:
parent
117ad86158
commit
329ed1bdde
|
@ -124,13 +124,5 @@ namespace libtorrent
|
||||||
|
|
||||||
#endif // TORRENT_USE_BOOST_DATE_TIME
|
#endif // TORRENT_USE_BOOST_DATE_TIME
|
||||||
|
|
||||||
namespace libtorrent
|
|
||||||
{
|
|
||||||
char const* time_now_string();
|
|
||||||
std::string log_time();
|
|
||||||
|
|
||||||
TORRENT_EXPORT ptime const& time_now();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,9 @@ namespace libtorrent
|
||||||
char const* time_now_string();
|
char const* time_now_string();
|
||||||
std::string log_time();
|
std::string log_time();
|
||||||
|
|
||||||
|
TORRENT_EXPORT ptime const& time_now();
|
||||||
TORRENT_EXPORT ptime time_now_hires();
|
TORRENT_EXPORT ptime time_now_hires();
|
||||||
|
|
||||||
TORRENT_EXPORT ptime min_time();
|
TORRENT_EXPORT ptime min_time();
|
||||||
TORRENT_EXPORT ptime max_time();
|
TORRENT_EXPORT ptime max_time();
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libtorrent/kademlia/logging.hpp"
|
#include "libtorrent/kademlia/logging.hpp"
|
||||||
|
#include "libtorrent/time.hpp"
|
||||||
|
|
||||||
namespace libtorrent { namespace dht
|
namespace libtorrent { namespace dht
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue