Code

now that selection description includes style (filtered, clipped), we need to update...
[inkscape.git] / src / helper-fns.h
index 635aefd79525ddee3554a308ca15f5e394678191..43c90063b28252cb2a6ca1eeca2c47e2a640fcc9 100644 (file)
@@ -14,7 +14,7 @@
  */
 
 #include <string.h>
-
+#include <vector>
 #include <sstream>
 
 // calling helperfns_read_number(string, false), it's not obvious, what
@@ -57,7 +57,7 @@ inline bool helperfns_read_bool(gchar const *value, bool default_value){
 inline std::vector<gdouble> helperfns_read_vector(const gchar* value, int size){
         std::vector<gdouble> v(size, (gdouble) 0);
         std::istringstream is(value);
-        for(int i = 0; i < size && (is >> v[i]); i++);
+        for(int i = 0; i < size && (is >> v[i]); i++){};
         return v;
 }