Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitrij Mijoski <dmjpp@hotmail.com>2019-02-18 16:56:04 +0300
committerViktor Kirilov <vik.kirilov@gmail.com>2019-02-18 16:56:04 +0300
commit447b155552d7df291dcf1eaa5e67d4abb778e1ac (patch)
tree725d428f16b86b372824973af7dd4ea8433f781c /scripts/playground
parentb2611a140fe67d983b7078a3d3cf76a79efaaa9b (diff)
Rename doctest_impl.h to doctest.cpp for less confusion. (#185)
doctest_impl.h was not really a header file, it contains ODR definitions. It was meant to be included by one and exactly one implementation file. It was confusing for contributors. Now it is more clear. Catch2 names its implementation files .cpp. As a consequence, we simplified the creation of doctest with main. Extra file doctest_main.cpp is not needed.
Diffstat (limited to 'scripts/playground')
-rw-r--r--scripts/playground/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/playground/main.cpp b/scripts/playground/main.cpp
index af44367b..bbcf48bc 100644
--- a/scripts/playground/main.cpp
+++ b/scripts/playground/main.cpp
@@ -1,4 +1,4 @@
-#include "parts/doctest_impl.h"
+#include "parts/doctest.cpp"
int main(int argc, char** argv) {
doctest::Context context;