Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
MostafaMollaali
dynamic
Commits
81c2c96e
Commit
81c2c96e
authored
5 years ago
by
Dmitri Naumov
Browse files
Options
Downloads
Patches
Plain Diff
[App/DHL] Remove unused Project::meshExists.
parent
01f94751
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Applications/DataHolderLib/Project.cpp
+0
-5
0 additions, 5 deletions
Applications/DataHolderLib/Project.cpp
Applications/DataHolderLib/Project.h
+0
-4
0 additions, 4 deletions
Applications/DataHolderLib/Project.h
with
0 additions
and
9 deletions
Applications/DataHolderLib/Project.cpp
+
0
−
5
View file @
81c2c96e
...
@@ -60,11 +60,6 @@ bool Project::removeMesh(const std::string &name)
...
@@ -60,11 +60,6 @@ bool Project::removeMesh(const std::string &name)
return
false
;
return
false
;
}
}
bool
Project
::
meshExists
(
const
std
::
string
&
name
)
const
{
return
findMeshByName
(
name
)
!=
_mesh_vec
.
end
();
}
bool
Project
::
getUniqueName
(
std
::
string
&
name
)
const
bool
Project
::
getUniqueName
(
std
::
string
&
name
)
const
{
{
int
count
(
0
);
int
count
(
0
);
...
...
This diff is collapsed.
Click to expand it.
Applications/DataHolderLib/Project.h
+
0
−
4
View file @
81c2c96e
...
@@ -106,10 +106,6 @@ private:
...
@@ -106,10 +106,6 @@ private:
/// Returns false and changes the provided name to a unique name otherwise.
/// Returns false and changes the provided name to a unique name otherwise.
bool
getUniqueName
(
std
::
string
&
name
)
const
;
bool
getUniqueName
(
std
::
string
&
name
)
const
;
/// Returns true if a mesh with the same name exists and false otherwise.
bool
meshExists
(
const
std
::
string
&
name
)
const
;
/// Returns an iterator to the first found mesh with the given name.
/// Returns an iterator to the first found mesh with the given name.
std
::
vector
<
std
::
unique_ptr
<
MeshLib
::
Mesh
>>::
const_iterator
findMeshByName
(
std
::
vector
<
std
::
unique_ptr
<
MeshLib
::
Mesh
>>::
const_iterator
findMeshByName
(
std
::
string
const
&
name
)
const
;
std
::
string
const
&
name
)
const
;
...
...
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