]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/tests/stub_time.cc
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / tests / stub_time.cc
index a76c1249ca9443b229046653b883f2785faeb088..089ca57f8855d27e654f05d81f0bd6e9e407eab6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -10,7 +10,7 @@
 #include "SquidTime.h"
 
 #define STUB_API "time.cc"
-#include "STUB.h"
+#include "tests/STUB.h"
 
 struct timeval current_time;
 double current_dtime;
@@ -25,5 +25,7 @@ const char * Time::FormatStrf(time_t ) STUB_RETVAL("")
 const char * Time::FormatHttpd(time_t ) STUB_RETVAL("")
 
 void TimeEngine::tick() STUB
-TimeEngine::~TimeEngine() STUB
+TimeEngine::~TimeEngine() {STUB_NOP}
+
+std::ostream &operator <<(std::ostream &os, const timeval &) STUB_RETVAL(os)