Commit f454de50 authored by Max Lyon's avatar Max Lyon

fix more warnings

parent 3dbb624e
Pipeline #3359 passed with stage
in 3 minutes and 36 seconds
......@@ -87,7 +87,7 @@ protected:
virtual void delete_multiple_entries(const std::vector<bool>& _tags) = 0;
virtual void resize(unsigned int /*_size*/) = 0;
virtual void resize(size_t /*_size*/) = 0;
virtual void set_handle(const OpenVolumeMeshHandle& /*_handle*/) = 0;
......
......@@ -107,7 +107,7 @@ protected:
virtual void delete_multiple_entries(const std::vector<bool>& _tags);
virtual void resize(unsigned int _size);
virtual void resize(size_t _size);
virtual void set_handle(const OpenVolumeMeshHandle& _handle);
};
......
......@@ -69,7 +69,7 @@ PropertyPtr<PropT,HandleT>::~PropertyPtr() {
}
template <class PropT, class HandleT>
void PropertyPtr<PropT,HandleT>::resize(unsigned int _size) {
void PropertyPtr<PropT,HandleT>::resize(size_t _size) {
ptr::shared_ptr<PropT>::get()->resize(_size);
}
......
......@@ -116,7 +116,7 @@ EdgeHandle TopologyKernel::add_edge(const VertexHandle& _fromVertex,
}
}
} else {
for(size_t i = 0; i < edges_.size(); ++i) {
for(int i = 0; i < (int)edges_.size(); ++i) {
if(edge(EdgeHandle(i)).from_vertex() == _fromVertex && edge(EdgeHandle(i)).to_vertex() == _toVertex) {
return EdgeHandle(i);
} else if(edge(EdgeHandle(i)).from_vertex() == _toVertex && edge(EdgeHandle(i)).to_vertex() == _fromVertex) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment