LCOV - code coverage report
Current view: top level - app/include/utils - shared_ptr.hpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 2 0.0 %
Date: 2023-08-17 16:45:52 Functions: 0 0 -

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <memory>
       4             : 
       5             : namespace utils::shared_ptr {
       6             : 
       7             : template<typename T>
       8             : struct less {
       9             :     bool operator()(const std::shared_ptr<T> &a, const std::shared_ptr<T> &b) const {
      10             :         return *a < *b;
      11             :     }
      12             : };
      13             : 
      14             : template<typename T>
      15             : struct greater {
      16           0 :     bool operator()(const std::shared_ptr<T> &a, const std::shared_ptr<T> &b) const {
      17           0 :         return *a > *b;
      18             :     }
      19             : };
      20             : 
      21             : }  // namespace utils::shared_ptr

Generated by: LCOV version 1.14