Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
dd5558f6
Commit
dd5558f6
authored
May 14, 2014
by
Tomasz Włostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
geometry: GetShape()->Shape() in indexed shape containers
parent
5a51d11b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
shape_index.h
include/geometry/shape_index.h
+1
-1
shape_index_list.h
include/geometry/shape_index_list.h
+1
-1
No files found.
include/geometry/shape_index.h
View file @
dd5558f6
...
...
@@ -43,7 +43,7 @@
template
<
class
T
>
static
const
SHAPE
*
shapeFunctor
(
T
aItem
)
{
return
aItem
->
Get
Shape
();
return
aItem
->
Shape
();
}
...
...
include/geometry/shape_index_list.h
View file @
dd5558f6
...
...
@@ -30,7 +30,7 @@
template
<
class
T
>
const
SHAPE
*
defaultShapeFunctor
(
const
T
aItem
)
{
return
aItem
->
Get
Shape
();
return
aItem
->
Shape
();
}
template
<
class
T
,
const
SHAPE
*
(
ShapeFunctor
)
(
const
T
)
=
defaultShapeFunctor
<
T
>
>
...
...
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