Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
9fe1e9f4
Commit
9fe1e9f4
authored
Jun 19, 2023
by
Samir Halilcevic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix iterator advance
parent
40ed1153
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
libcaf_core/caf/config_option.hpp
libcaf_core/caf/config_option.hpp
+2
-2
libcaf_core/src/config_option.cpp
libcaf_core/src/config_option.cpp
+3
-4
No files found.
libcaf_core/caf/config_option.hpp
View file @
9fe1e9f4
libcaf_core/src/config_option.cpp
View file @
9fe1e9f4
...
@@ -156,10 +156,9 @@ find_by_long_name(const config_option& x,
...
@@ -156,10 +156,9 @@ find_by_long_name(const config_option& x,
// Remove leading '=' and return the value.
// Remove leading '=' and return the value.
str
.
remove_prefix
(
1
);
str
.
remove_prefix
(
1
);
return
{
first
,
str
};
return
{
first
,
str
};
}
else
if
(
str
.
empty
()
&&
(
first
+
1
)
!=
last
)
{
}
else
if
(
auto
val
=
first
+
1
;
str
.
empty
()
&&
val
!=
last
)
{
// Get the next argument the value
// Get the next argument the value
++
first
;
return
{
first
,
std
::
string_view
{
*
val
}};
return
{
first
,
std
::
string_view
{
*
first
}};
}
else
{
}
else
{
continue
;
continue
;
}
}
...
...
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