Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VKSort
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AUSA
Oliskir
VKSort
Commits
06b29068
Commit
06b29068
authored
7 years ago
by
Oliver Kirsebom
Browse files
Options
Downloads
Patches
Plain Diff
terminate if no files found
parent
31c69533
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sort.cpp
+5
-0
5 additions, 0 deletions
sort.cpp
with
5 additions
and
0 deletions
sort.cpp
+
5
−
0
View file @
06b29068
...
@@ -32,6 +32,11 @@ int main( int argc, char* argv[] ){
...
@@ -32,6 +32,11 @@ int main( int argc, char* argv[] ){
vector
<
string
>
input
;
vector
<
string
>
input
;
findFiles
(
run
,
input
);
findFiles
(
run
,
input
);
if
(
input
.
size
()
==
0
)
{
cout
<<
"Unable to find any files with run number "
<<
run
<<
endl
;
return
0
;
}
vector
<
shared_ptr
<
VKRawReader
>>
readers
;
vector
<
shared_ptr
<
VKRawReader
>>
readers
;
for
(
auto
&
i
:
input
)
{
for
(
auto
&
i
:
input
)
{
auto
r
=
make_shared
<
VKRawReader
>
(
i
);
auto
r
=
make_shared
<
VKRawReader
>
(
i
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment