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 Dec 6, 2017
1 parent 7451dc4 commit 06ea1e2
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 06ea1e2

Please sign in to comment.