Commit fb56a9cd by Maarten L. Hekkelman

version bump

parent a4680f7d
......@@ -27,7 +27,7 @@ cmake_minimum_required(VERSION 3.16)
# set the project name
project(
libcifpp
VERSION 7.0.1
VERSION 7.0.2
LANGUAGES CXX)
list(PREPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
......
Version 7.0.2
- Fix in testing error_code results.
Version 7.0.1
- Various reconstruction fixes
- category order in output fixed
......
......@@ -1263,7 +1263,7 @@ class category
{
}
#pragma warning("NEED TO FIX THIS!")
// TODO: NEED TO FIX THIS!
category *linked;
const link_validator *v;
};
......
......@@ -109,6 +109,9 @@ bool datablock::validate_links() const
bool result = true;
for (auto &cat : *this)
cat.update_links(*this);
for (auto &cat : *this)
result = cat.validate_links() and result;
return result;
......@@ -175,6 +178,11 @@ std::tuple<datablock::iterator, bool> datablock::emplace(std::string_view name)
}
assert(i != end());
// links may have changed...
for (auto &cat : *this)
cat.update_links(*this);
return std::make_tuple(i, is_new);
}
......
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