Skip to content

Commit

Permalink
Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Aug 9, 2016
1 parent c3f720f commit f928186
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/pal/feature.h
Expand Up @@ -171,9 +171,11 @@ namespace pal
* Candidates can "cut corners" if it helps them place near this mid point. * Candidates can "cut corners" if it helps them place near this mid point.
* @param lPos pointer to an array of candidates, will be filled by generated candidates * @param lPos pointer to an array of candidates, will be filled by generated candidates
* @param mapShape a pointer to the line * @param mapShape a pointer to the line
* @param initialCost initial cost for candidates generated using this method. If set, cost can be increased
* by a preset amount.
* @returns the number of generated candidates * @returns the number of generated candidates
*/ */
int createCandidatesAlongLineNearMidpoint( QList<LabelPosition *> &lPos, PointSet *mapShape , double initialCost = 0.0 ); int createCandidatesAlongLineNearMidpoint( QList<LabelPosition *> &lPos, PointSet *mapShape, double initialCost = 0.0 );


LabelPosition* curvedPlacementAtOffset( PointSet* path_positions, double* path_distances, LabelPosition* curvedPlacementAtOffset( PointSet* path_positions, double* path_distances,
int orientation, int index, double distance ); int orientation, int index, double distance );
Expand Down

0 comments on commit f928186

Please sign in to comment.