Skip to content

Commit

Permalink
Pass string by reference
Browse files Browse the repository at this point in the history
  • Loading branch information
hadjiszs committed Jan 11, 2018
1 parent 3026690 commit 835e2a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions converters/mesh2vol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 835e2a4

Please sign in to comment.