Skip to content

Commit 7bea33f

Browse files
committed
[vpr][router] fix fuction signiture
1 parent 27839bd commit 7bea33f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vpr/src/route/route_utils.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,11 @@ void try_graph(int width_fac,
507507
is_flat);
508508
}
509509

510+
#ifndef NO_GRAPHICS
510511
void update_draw_pres_fac(const float new_pres_fac) {
512+
#else
513+
void update_draw_pres_fac(const float /*new_pres_fac*/)
514+
#endif
511515
#ifndef NO_GRAPHICS
512516

513517
// Only updates the drawing pres_fac if graphics is enabled

0 commit comments

Comments
 (0)