Skip to content
Snippets Groups Projects
Commit b2b00e8c authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

Update on prameters

parent 0dbd630b
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
} }
}; };
template <typename T, int size> template <typename T, unsigned int size>
class SizedParameter: public Parameter { class SizedParameter: public Parameter {
public: public:
SizedParameter(){ SizedParameter(){
...@@ -86,9 +86,8 @@ public: ...@@ -86,9 +86,8 @@ public:
SizedParameter(std::istream& s){ SizedParameter(std::istream& s){
//#if size>0 //#if size>0
for (unsigned int i=0;i<size;){ for (unsigned int i=0;i<size;i++){
READ_STREAM(s, _p[i]); READ_STREAM(s, _p[i]);
i++;
} }
#ifdef DEBUG_SERIALIZE #ifdef DEBUG_SERIALIZE
print(); print();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment