Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Timo Koch
dune-common
Commits
499fb0d5
Commit
499fb0d5
authored
19 years ago
by
Markus Blatt
Browse files
Options
Downloads
Patches
Plain Diff
Introduces size_type to be compliant with stl containers.
[[Imported from SVN: r3363]]
parent
9f190635
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
common/sllist.hh
+7
-0
7 additions, 0 deletions
common/sllist.hh
with
7 additions
and
0 deletions
common/sllist.hh
+
7
−
0
View file @
499fb0d5
...
...
@@ -47,6 +47,11 @@ namespace Dune
public:
/**
* @brief The size type.
*/
typedef
typename
A
::
size_type
size_type
;
/**
* @brief The type we store.
*/
...
...
@@ -674,7 +679,9 @@ namespace Dune
{
assert
(
current
);
#ifndef NDEBUG
bool
changeTail
=
(
current
==
tail_
);
#endif
// Save old next element
Element
*
tmp
=
current
->
next_
;
...
...
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