Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-solvers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
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
Model registry
Operate
Environments
Monitor
Incidents
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
agnumpde
dune-solvers
Commits
1abb362c
Commit
1abb362c
authored
6 years ago
by
lisajulia
Browse files
Options
Downloads
Patches
Plain Diff
dereferenced pointer arguments passed to Dune::stackobject_to_shared_ptr
parent
fad32e71
No related branches found
No related tags found
1 merge request
!24
dereferenced pointer arguments passed to Dune::stackobject_to_shared_ptr
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dune/solvers/iterationsteps/mmgstep.hh
+2
-2
2 additions, 2 deletions
dune/solvers/iterationsteps/mmgstep.hh
with
2 additions
and
2 deletions
dune/solvers/iterationsteps/mmgstep.hh
+
2
−
2
View file @
1abb362c
...
...
@@ -56,7 +56,7 @@ public:
//! Set the hasObstacle bitfield
DUNE_DEPRECATED_MSG
(
"Setting by raw pointer is deprecated. Use l-value or r-value or a shared_ptr"
)
void
setHasObstacles
(
Dune
::
BitSetVector
<
dim
>*
hasObstacle
)
{
hasObstacle_
=
Dune
::
stackobject_to_shared_ptr
(
hasObstacle
);
hasObstacle_
=
Dune
::
stackobject_to_shared_ptr
(
*
hasObstacle
);
}
//! Set the hasObstacle bitfield
...
...
@@ -68,7 +68,7 @@ public:
//! Set the obstacle field
DUNE_DEPRECATED_MSG
(
"Setting by raw pointer is deprecated. Use l-value or r-value or a shared_ptr"
)
void
setObstacles
(
ObstacleVectorType
*
obstacles
)
{
obstacles_
=
Dune
::
stackobject_to_shared_ptr
(
obstacles
);
obstacles_
=
Dune
::
stackobject_to_shared_ptr
(
*
obstacles
);
}
//! Set the obstacle field
...
...
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