Skip to content

Commit f331b2a

Browse files
committed
Add a const sister method.
1 parent c50405d commit f331b2a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

SU2_CFD/include/variables/CVariable.hpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ class CVariable {
436436
* \return Reference to extra adjoint solution.
437437
*/
438438
inline VectorType& GetSolutionExtra() { return SolutionExtra; }
439+
inline const VectorType& GetSolutionExtra() const { return SolutionExtra; }
439440

440441
/*!
441442
* \brief Update the variables using a conservative format.

0 commit comments

Comments
 (0)