diff --git a/src/sc.h b/src/sc.h index daf01b0..c2008fa 100644 --- a/src/sc.h +++ b/src/sc.h @@ -50,7 +50,7 @@ public: } void load_key_vector (const std::vector&K) { - load_key (& (K[0]), & (K[K.size()])); + load_key (K.data(), K.data() + K.size()); } typedef std::map*> suite_t;