File update-dtl.patch of Package KnobKraft-orm
Submodule third_party/dtl contains modified content
diff --git a/third_party/dtl/ChangeLog b/third_party/dtl/ChangeLog
index de19a6b..3bf2e85 100644
--- a/third_party/dtl/ChangeLog
+++ b/third_party/dtl/ChangeLog
@@ -1,3 +1,9 @@
+2024-07-11 Tatsuhiko Kubo <cubicdaiya@gmail.com>
+
+ * bugfix: fix compilation error in C++14 (#18). Thanks to @ZaychukAleksey
+
+ * 1.21 released
+
2022-04-11 Tatsuhiko Kubo <cubicdaiya@gmail.com>
* bugfix: fixed invalid offset in unified format difference when difference is too large.
diff --git a/third_party/dtl/dtl/Diff.hpp b/third_party/dtl/dtl/Diff.hpp
index 8c9c774..57067f9 100644
--- a/third_party/dtl/dtl/Diff.hpp
+++ b/third_party/dtl/dtl/Diff.hpp
@@ -164,7 +164,7 @@ namespace dtl {
return trivial;
}
- void enableTrivial () const {
+ void enableTrivial () {
this->trivial = true;
}
diff --git a/third_party/dtl/dtl/variables.hpp b/third_party/dtl/dtl/variables.hpp
index 6720ec8..4f53a88 100644
--- a/third_party/dtl/dtl/variables.hpp
+++ b/third_party/dtl/dtl/variables.hpp
@@ -63,7 +63,7 @@ namespace dtl {
/**
* version string
*/
- const string version = "1.20";
+ const string version = "1.21";
/**
* type of edit for SES
diff --git a/third_party/dtl/test/SConstruct b/third_party/dtl/test/SConstruct
index 37873dd..8b1883e 100644
--- a/third_party/dtl/test/SConstruct
+++ b/third_party/dtl/test/SConstruct
@@ -11,7 +11,7 @@ def path_chomp(path):
env = Environment(
CPPFLAGS=['-Wall', '-O2'],
CPPPATH=['..'],
- CXXFLAGS="-std=c++11",
+ CXXFLAGS="-std=c++14",
)
conf = Configure(env);