Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor 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
Development
openfoam
Commits
b502086a
Commit
b502086a
authored
5 years ago
by
Mark OLESEN
Browse files
Options
Downloads
Patches
Plain Diff
Revert "string trim"
This reverts commit
677e3142
.
parent
677e3142
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
src/OpenFOAM/primitives/strings/stringOps/stringOps.H
+0
-11
0 additions, 11 deletions
src/OpenFOAM/primitives/strings/stringOps/stringOps.H
with
0 additions
and
11 deletions
src/OpenFOAM/primitives/strings/stringOps/stringOps.H
+
0
−
11
View file @
b502086a
...
@@ -48,7 +48,6 @@ SourceFiles
...
@@ -48,7 +48,6 @@ SourceFiles
#include
"stringOpsSort.H"
#include
"stringOpsSort.H"
#include
"stringOpsEvaluate.H"
#include
"stringOpsEvaluate.H"
#include
"wordRes.H"
#include
"wordRes.H"
#include
<utility>
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
...
@@ -257,16 +256,6 @@ namespace stringOps
...
@@ -257,16 +256,6 @@ namespace stringOps
// Return true if a replacement was successful.
// Return true if a replacement was successful.
bool
inplaceReplaceVar
(
std
::
string
&
s
,
const
word
&
varName
);
bool
inplaceReplaceVar
(
std
::
string
&
s
,
const
word
&
varName
);
//- Find first and last non-space locations in string or sub-string
//- and return as a (pos, len) pair.
// In the future this might become a std::smatch or a std::stringview
std
::
pair
<
size_t
,
size_t
>
findTrim
(
const
std
::
string
&
s
,
size_t
pos
=
0
,
size_t
len
=
std
::
string
::
npos
);
//- Return string trimmed of leading whitespace
//- Return string trimmed of leading whitespace
string
trimLeft
(
const
std
::
string
&
s
);
string
trimLeft
(
const
std
::
string
&
s
);
...
...
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