Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-geometry
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Core Modules
dune-geometry
Commits
78ed8813
Commit
78ed8813
authored
5 years ago
by
Christoph Grüninger
Browse files
Options
Downloads
Patches
Plain Diff
[cleanup] Remove deprecated GeometryType(dim)
parent
e981c627
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!136
Feature/remove deprecated
Pipeline
#24616
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/geometry/type.hh
+0
-19
0 additions, 19 deletions
dune/geometry/type.hh
with
0 additions
and
19 deletions
dune/geometry/type.hh
+
0
−
19
View file @
78ed8813
...
...
@@ -413,25 +413,6 @@ namespace Dune
DUNE_UNUSED_PARAMETER
(
t
);
}
/** \brief Constructor for vertices and segments */
DUNE_DEPRECATED_MSG
(
"GeometryType(unsigned dim) is deprecated in DUNE 2.7, please use Dune::GeometryTypes::cube(dim) instead"
)
explicit
GeometryType
(
unsigned
int
dim
)
:
dim_
(
dim
),
none_
(
false
),
topologyId_
(
0
)
{
assert
(
dim
<
2
);
}
/** \brief Constructor for vertices and segments */
// We need this constructor for "int" and "unsigned int",
// because otherwise GeometryType(int) would try to call the
// generic GeometryType(TopologyType) constructor
DUNE_DEPRECATED_MSG
(
"GeometryType(dim) is deprecated in DUNE 2.7, please use Dune::GeometryTypes::cube(dim) instead"
)
explicit
GeometryType
(
int
dim
)
:
dim_
(
dim
),
none_
(
false
),
topologyId_
(
0
)
{
assert
(
dim
<
2
);
}
/** @} */
...
...
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