The-OpenROAD-Project / OpenSTA

OpenSTA engine
GNU General Public License v3.0
388 stars 168 forks source link

Fixes C++20 compilation error #127

Closed QuantamHD closed 1 year ago

QuantamHD commented 1 year ago

avoids referring to std::vector members when T is incomplete.

This is not legal according to the C++ standard, and causes build errors in particular in C++20 mode. More specifically the call to .size( ) on line 40 is illegal without this header being present.

tspyrou commented 1 year ago

Completed by separate commit.