minor changes
This commit is contained in:
parent
9fe918ca37
commit
303c4d14b5
vcg
|
@ -103,7 +103,10 @@ class SimpleTempData:public SimpleTempDataBase{
|
||||||
Init(val);
|
Init(val);
|
||||||
};
|
};
|
||||||
|
|
||||||
~SimpleTempData(){data.clear();}
|
~SimpleTempData()
|
||||||
|
{
|
||||||
|
data.clear();
|
||||||
|
}
|
||||||
|
|
||||||
void Init(const ATTR_TYPE &val)
|
void Init(const ATTR_TYPE &val)
|
||||||
{
|
{
|
||||||
|
|
|
@ -110,12 +110,12 @@ public:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/// Operatore di indicizzazione
|
/// Indexing operator
|
||||||
inline S * operator [] ( const int i )
|
inline S * operator [] ( const int i )
|
||||||
{
|
{
|
||||||
return a+i*3;
|
return a+i*3;
|
||||||
}
|
}
|
||||||
/// Operatore const di indicizzazione
|
/// Const indexing operator
|
||||||
inline const S * operator [] ( const int i ) const
|
inline const S * operator [] ( const int i ) const
|
||||||
{
|
{
|
||||||
return a+i*3;
|
return a+i*3;
|
||||||
|
|
Loading…
Reference in New Issue