File: use_system_catch.hpp

package info (click to toggle)
spdlog 1%3A1.10.0%2Bds-0.4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,728 kB
  • sloc: cpp: 21,843; ansic: 3,022; makefile: 36; sh: 34; python: 12
file content (27 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Author: Michael R. Crusoe <crusoe@debian.org>
Description: Use the packaged version of catch.hpp
Forwarded: not-needed
--- spdlog.orig/tests/includes.h
+++ spdlog/tests/includes.h
@@ -1,6 +1,6 @@
 #pragma once
 
-#include "catch.hpp"
+#include <catch2/catch.hpp>
 #include "utils.h"
 #include <chrono>
 #include <cstdio>
@@ -23,4 +23,4 @@
 #include "spdlog/sinks/ostream_sink.h"
 #include "spdlog/sinks/rotating_file_sink.h"
 #include "spdlog/sinks/stdout_color_sinks.h"
-#include "spdlog/pattern_formatter.h"
\ No newline at end of file
+#include "spdlog/pattern_formatter.h"
--- spdlog.orig/tests/main.cpp
+++ spdlog/tests/main.cpp
@@ -1,2 +1,2 @@
 #define CATCH_CONFIG_MAIN
-#include "catch.hpp"
\ No newline at end of file
+#include <catch2/catch.hpp>