Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
7d7bd51b
Commit
7d7bd51b
authored
Mar 25, 2020
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
util/AllocatedArray: use `using` instead of `typedef`
parent
71e551df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
AllocatedArray.hxx
src/util/AllocatedArray.hxx
+5
-5
No files found.
src/util/AllocatedArray.hxx
View file @
7d7bd51b
...
...
@@ -45,11 +45,11 @@ class AllocatedArray {
typedef
WritableBuffer
<
T
>
Buffer
;
public
:
typedef
typename
Buffer
::
size_type
size_type
;
typedef
typename
Buffer
::
reference
reference
;
typedef
typename
Buffer
::
const_reference
const_reference
;
typedef
typename
Buffer
::
iterator
iterator
;
typedef
typename
Buffer
::
const_iterator
const_iterator
;
using
size_type
=
typename
Buffer
::
size_type
;
using
reference
=
typename
Buffer
::
reference
;
using
const_reference
=
typename
Buffer
::
const_reference
;
using
iterator
=
typename
Buffer
::
iterator
;
using
const_iterator
=
typename
Buffer
::
const_iterator
;
protected
:
Buffer
buffer
{
nullptr
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment