Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenVolumeMesh
OpenVolumeMesh
Commits
75322fef
Commit
75322fef
authored
Oct 24, 2016
by
Max Lyon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix more warnings
parent
8d2de975
Pipeline
#3329
passed with stage
in 3 minutes and 39 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/OpenVolumeMesh/Core/OpenVolumeMeshProperty.hh
src/OpenVolumeMesh/Core/OpenVolumeMeshProperty.hh
+4
-4
src/OpenVolumeMesh/Core/ResourceManagerT.cc
src/OpenVolumeMesh/Core/ResourceManagerT.cc
+1
-1
No files found.
src/OpenVolumeMesh/Core/OpenVolumeMeshProperty.hh
View file @
75322fef
...
...
@@ -178,14 +178,14 @@ public:
}
/// Access the i'th element. No range check is performed!
reference
operator
[](
in
t
_idx
)
{
assert
(
size_t
(
_idx
)
<
data_
.
size
());
reference
operator
[](
size_
t
_idx
)
{
assert
(
_idx
<
data_
.
size
());
return
data_
[
_idx
];
}
/// Const access to the i'th element. No range check is performed!
const_reference
operator
[](
in
t
_idx
)
const
{
assert
(
size_t
(
_idx
)
<
data_
.
size
());
const_reference
operator
[](
size_
t
_idx
)
const
{
assert
(
_idx
<
data_
.
size
());
return
data_
[
_idx
];
}
...
...
src/OpenVolumeMesh/Core/ResourceManagerT.cc
View file @
75322fef
...
...
@@ -106,7 +106,7 @@ PropT ResourceManager::request_property(StdVecT& _vec, const std::string& _name,
}
}
HandleT
handle
(
_vec
.
size
());
HandleT
handle
(
(
int
)
_vec
.
size
());
PropT
*
prop
=
new
PropT
(
_name
,
*
this
,
handle
,
_def
);
prop
->
resize
(
_size
);
...
...
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