Fixed cppcheck warning

This commit is contained in:
Jan Möbius
2021-04-27 12:25:24 +02:00
parent c6da50a483
commit 7bf1b94224

View File

@@ -54,6 +54,7 @@
#include <fstream>
#include <iostream>
#include <memory>
#include <string>
#ifndef WIN32
#endif
@@ -1089,7 +1090,7 @@ std::string get_property_name(std::string _string1, std::string _string2) {
//-----------------------------------------------------------------------------
_PLYReader_::ValueType get_property_type(std::string& _string1, std::string& _string2) {
_PLYReader_::ValueType get_property_type(const std::string& _string1, const std::string& _string2) {
if (_string1 == "float32" || _string2 == "float32")