Commit ff8a7a1b by Maarten L. Hekkelman

for g++-11

parent 8f02665e
...@@ -160,7 +160,7 @@ else ...@@ -160,7 +160,7 @@ else
src/revision.hpp: src/revision.hpp:
@ echo 'const char kRevision[] = R"(' > $@ @ echo 'const char kRevision[] = R"(' > $@
@ echo libcifpp-version: $(VERSION) >> $@ @ echo libcifpp-version: $(VERSION) >> $@
@ echo Date: $$(date --iso-8601) >> $@ @ echo Date: $$(TZ=GMT date +"%Y-%m-%d") >> $@
@ echo ')";' >> $@ @ echo ')";' >> $@
endif endif
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
#include <set> #include <set>
#include <list> #include <list>
#include <array> #include <array>
#include <optional>
#include "cif++/CifUtils.hpp" #include "cif++/CifUtils.hpp"
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <map> #include <map>
#include <numeric> #include <numeric>
#include <mutex>
#include <shared_mutex> #include <shared_mutex>
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>
......
...@@ -1008,7 +1008,7 @@ class PDBFileParser ...@@ -1008,7 +1008,7 @@ class PDBFileParser
if (i != mLinks.end()) if (i != mLinks.end())
return { i->a == atom ? i->b : i->a, true }; return { i->a == atom ? i->b : i->a, true };
return {{}, false}; return {};
} }
// ---------------------------------------------------------------- // ----------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment