File tree Expand file tree Collapse file tree 5 files changed +6
-4
lines changed
Expand file tree Collapse file tree 5 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ class FlexPA;
1515class PACallBack : public utl ::CallBack
1616{
1717 public:
18- PACallBack (TritonRoute* router) : router_(router) {}
18+ PACallBack (TritonRoute* router) /* : router_(router) */ {}
1919
2020 ~PACallBack () override = default ;
2121
@@ -25,7 +25,7 @@ class PACallBack : public utl::CallBack
2525 }
2626
2727 private:
28- TritonRoute* router_;
28+ // TritonRoute* router_;
2929};
3030
3131} // namespace drt
Original file line number Diff line number Diff line change @@ -1047,7 +1047,7 @@ int TritonRoute::main()
10471047 prep ();
10481048 ta ();
10491049 if (distributed_) {
1050- asio::post (* dist_pool_, [this ] { sendDesignUpdates (" " ); });
1050+ asio::post (dist_pool_. value () , [this ] { sendDesignUpdates (" " ); });
10511051 }
10521052 dr ();
10531053 if (!router_cfg_->SINGLE_STEP_DR ) {
Original file line number Diff line number Diff line change 2121#include " gui/gui.h"
2222#include " odb/dbTypes.h"
2323#include " odb/geom.h"
24+ #include " omp.h"
2425
2526namespace drt {
2627
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ class frDesign
8787 void addUpdate (const drUpdate& update)
8888 {
8989 if (updates_.empty ()) {
90- updates_.resize (omp_get_num_threads () * 2 );
90+ updates_.resize (omp_get_num_threads () * 2UL );
9191 }
9292 auto num_batches = updates_.size ();
9393 updates_[updates_sz_++ % num_batches].push_back (update);
Original file line number Diff line number Diff line change 1414#include " frBaseTypes.h"
1515#include " global.h"
1616#include " gui/gui.h"
17+ #include " omp.h"
1718#include " pa/FlexPA.h"
1819#include " utl/Logger.h"
1920
You can’t perform that action at this time.
0 commit comments