forked from lix-project/lix
libstore/download: remove unused function "getTime()"
This commit is contained in:
parent
1df32c7d7c
commit
ca9c6cb95d
|
@ -29,13 +29,6 @@ using namespace std::string_literals;
|
|||
|
||||
namespace nix {
|
||||
|
||||
double getTime()
|
||||
{
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, 0);
|
||||
return tv.tv_sec + (tv.tv_usec / 1000000.0);
|
||||
}
|
||||
|
||||
std::string resolveUri(const std::string & uri)
|
||||
{
|
||||
if (uri.compare(0, 8, "channel:") == 0)
|
||||
|
|
Loading…
Reference in a new issue