Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KLDAP
Commits
f1022963
Commit
f1022963
authored
Mar 11, 2021
by
Tobias Junghans
Browse files
Use QStringView::split()
parent
ca44b8f4
Pipeline
#53799
canceled with stage
in 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/ldapdn.cpp
View file @
f1022963
...
...
@@ -48,7 +48,7 @@ bool LdapDN::LdapDNPrivate::isValidRDNString(const QString &rdn) const
}
// Split the rdn into the attribute name and value parts
const
QVector
<
QStringRef
>
components
=
rdn
.
split
Ref
(
QLatin1Char
(
'='
));
const
auto
components
=
QStringView
(
rdn
)
.
split
(
QLatin1Char
(
'='
));
// We should have exactly two parts
if
(
components
.
size
()
!=
2
)
{
...
...
Write
Preview
Supports
Markdown
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