Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
fb56a9cd
Unverified
Commit
fb56a9cd
authored
Mar 09, 2024
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
version bump
parent
a4680f7d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
2 deletions
+13
-2
CMakeLists.txt
+1
-1
changelog
+3
-0
include/cif++/category.hpp
+1
-1
src/datablock.cpp
+8
-0
No files found.
CMakeLists.txt
View file @
fb56a9cd
...
@@ -27,7 +27,7 @@ cmake_minimum_required(VERSION 3.16)
...
@@ -27,7 +27,7 @@ cmake_minimum_required(VERSION 3.16)
# set the project name
# set the project name
project
(
project
(
libcifpp
libcifpp
VERSION 7.0.
1
VERSION 7.0.
2
LANGUAGES CXX
)
LANGUAGES CXX
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
...
...
changelog
View file @
fb56a9cd
Version
7.0.2
-
Fix
in
testing
error_code
results
.
Version
7.0.1
Version
7.0.1
-
Various
reconstruction
fixes
-
Various
reconstruction
fixes
-
category
order
in
output
fixed
-
category
order
in
output
fixed
...
...
include/cif++/category.hpp
View file @
fb56a9cd
...
@@ -1263,7 +1263,7 @@ class category
...
@@ -1263,7 +1263,7 @@ class category
{
{
}
}
#pragma warning("NEED TO FIX THIS!")
// TODO: NEED TO FIX THIS!
category
*
linked
;
category
*
linked
;
const
link_validator
*
v
;
const
link_validator
*
v
;
};
};
...
...
src/datablock.cpp
View file @
fb56a9cd
...
@@ -109,6 +109,9 @@ bool datablock::validate_links() const
...
@@ -109,6 +109,9 @@ bool datablock::validate_links() const
bool
result
=
true
;
bool
result
=
true
;
for
(
auto
&
cat
:
*
this
)
for
(
auto
&
cat
:
*
this
)
cat
.
update_links
(
*
this
);
for
(
auto
&
cat
:
*
this
)
result
=
cat
.
validate_links
()
and
result
;
result
=
cat
.
validate_links
()
and
result
;
return
result
;
return
result
;
...
@@ -175,6 +178,11 @@ std::tuple<datablock::iterator, bool> datablock::emplace(std::string_view name)
...
@@ -175,6 +178,11 @@ std::tuple<datablock::iterator, bool> datablock::emplace(std::string_view name)
}
}
assert
(
i
!=
end
());
assert
(
i
!=
end
());
// links may have changed...
for
(
auto
&
cat
:
*
this
)
cat
.
update_links
(
*
this
);
return
std
::
make_tuple
(
i
,
is_new
);
return
std
::
make_tuple
(
i
,
is_new
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment