diff --git a/converters/mesh2vol.cpp b/converters/mesh2vol.cpp index 08d7519e..560440dd 100644 --- a/converters/mesh2vol.cpp +++ b/converters/mesh2vol.cpp @@ -74,8 +74,8 @@ namespace po = boost::program_options; */ template< unsigned int SEP > -void voxelizeAndExport(const std::string inputFilename, - const std::string outputFilename, +void voxelizeAndExport(const std::string& inputFilename, + const std::string& outputFilename, const unsigned int resolution) { using Domain = Z3i::Domain;