Minor change to casting

C++ casting preferred
This commit is contained in:
Seth Hillbrand 2019-11-08 05:50:04 -08:00
parent 69e20c73ad
commit 33ff828411
1 changed files with 2 additions and 2 deletions

View File

@ -530,8 +530,8 @@ public:
*/
BOARD_DESIGN_SETTINGS& GetDesignSettings() const
{
// remove const-ness with cast.
return (BOARD_DESIGN_SETTINGS&) m_designSettings;
// remove const-ness with cast. TODO(snh): Make GetDesignSettings const
return const_cast<BOARD_DESIGN_SETTINGS&>( m_designSettings );
}
/**