Added non-const pointer accessor.
This commit is contained in:
parent
c5ad3694bd
commit
0e2bc54b52
|
@ -93,6 +93,10 @@ public:
|
|||
{
|
||||
return _v;
|
||||
}
|
||||
inline ScalarType * V()
|
||||
{
|
||||
return _v;
|
||||
}
|
||||
inline ScalarType & V( const int i )
|
||||
{
|
||||
assert(i>=0 && i<2);
|
||||
|
|
Loading…
Reference in New Issue