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
e8f24f61
Unverified
Commit
e8f24f61
authored
Jul 25, 2022
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed copy/paste error in Category interface
- message in progress finished
parent
9454fdc2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
include/cif++/Cif++.hpp
+2
-2
src/CifUtils.cpp
+1
-1
No files found.
include/cif++/Cif++.hpp
View file @
e8f24f61
...
...
@@ -1880,10 +1880,10 @@ class Category
const
Row
operator
[](
Condition
&&
cond
)
const
;
template
<
typename
...
Ts
,
typename
...
Ns
>
iterator_proxy
<
const
Row
,
Ts
...
>
rows
(
Ns
...
names
)
const
iterator_proxy
<
const
Category
,
Ts
...
>
rows
(
Ns
...
names
)
const
{
static_assert
(
sizeof
...(
Ts
)
==
sizeof
...(
Ns
),
"The number of column titles should be equal to the number of types to return"
);
return
iterator_proxy
<
const
Row
,
Ts
...
>
(
*
this
,
begin
(),
{
names
...});
return
iterator_proxy
<
const
Category
,
Ts
...
>
(
*
this
,
begin
(),
{
names
...});
}
template
<
typename
...
Ts
,
typename
...
Ns
>
...
...
src/CifUtils.cpp
View file @
e8f24f61
...
...
@@ -708,7 +708,7 @@ void ProgressImpl::PrintDone()
std
::
chrono
::
duration
<
double
>
elapsed
=
std
::
chrono
::
system_clock
::
now
()
-
mStart
;
std
::
ostringstream
msgstr
;
msgstr
<<
mAction
<<
" done in "
<<
elapsed
<<
"
cpu / %ws wall
"
;
msgstr
<<
mAction
<<
" done in "
<<
elapsed
<<
"
seconds
"
;
auto
msg
=
msgstr
.
str
();
uint32_t
width
=
get_terminal_width
();
...
...
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