LCOV - code coverage report
Current view: top level - src/Tools/Exception/logic_error - logic_error.cpp (source / functions) Hit Total Coverage
Test: streampu_clean.info Lines: 0 12 0.0 %
Date: 2024-07-31 15:48:41 Functions: 0 3 0.0 %

          Line data    Source code
       1             : #include <utility>
       2             : 
       3             : #include "Tools/Exception/logic_error/logic_error.hpp"
       4             : 
       5             : using namespace spu::tools;
       6             : 
       7             : #define DEFAULT_MESSAGE "Logic error."
       8             : 
       9           0 : logic_error::logic_error() noexcept
      10           0 :   : exception(DEFAULT_MESSAGE)
      11             : {
      12           0 : }
      13             : 
      14           0 : logic_error::logic_error(std::string&& message) noexcept
      15           0 :   : exception(message.empty() ? DEFAULT_MESSAGE : message)
      16             : {
      17           0 : }
      18             : 
      19           0 : logic_error::logic_error(std::string&& filename, int&& line_num, std::string&& funcname, std::string&& message) noexcept
      20           0 :   : exception(std::move(filename),
      21           0 :               std::move(line_num),
      22           0 :               std::move(funcname),
      23           0 :               message.empty() ? DEFAULT_MESSAGE : message)
      24             : {
      25           0 : }

Generated by: LCOV version 1.14