LCOV - code coverage report
Current view: top level - src/jamidht/eth/libdevcore - Common.cpp (source / functions) Hit Total Coverage
Test: jami-coverage-filtered.info Lines: 0 2 0.0 %
Date: 2021-07-24 07:34:39 Functions: 0 1 0.0 %

          Line data    Source code
       1             : /*
       2             :     This file is part of cpp-ethereum.
       3             : 
       4             :     cpp-ethereum is free software: you can redistribute it and/or modify
       5             :     it under the terms of the GNU General Public License as published by
       6             :     the Free Software Foundation, either version 3 of the License, or
       7             :     (at your option) any later version.
       8             : 
       9             :     cpp-ethereum is distributed in the hope that it will be useful,
      10             :     but WITHOUT ANY WARRANTY; without even the implied warranty of
      11             :     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
      12             :     GNU General Public License for more details.
      13             : 
      14             :     You should have received a copy of the GNU General Public License
      15             :     along with cpp-ethereum.  If not, see <http://www.gnu.org/licenses/>.
      16             : */
      17             : /** @file Common.cpp
      18             :  * @author Gav Wood <i@gavwood.com>
      19             :  * @date 2014
      20             :  */
      21             : 
      22             : #include "Common.h"
      23             : using namespace std;
      24             : using namespace dev;
      25             : 
      26             : namespace dev {
      27             : 
      28             : bytes const NullBytes;
      29             : 
      30             : uint64_t
      31           0 : utcTime()
      32             : {
      33             :     // TODO: Fix if possible to not use time(0) and merge only after testing in all platforms
      34             :     // time_t t = time(0);
      35             :     // return mktime(gmtime(&t));
      36           0 :     return time(0);
      37             : }
      38             : 
      39             : } // namespace dev

Generated by: LCOV version 1.14