}
template <typename T>
inline void Deserialize(IReader &r, std::list<T> &list) {
- int len;
+ int len=0;
r.Read(&len, sizeof(len));
for (int i = 0; i < len; i++) {
T obj(r);
}
template <typename T>
inline void Deserialize(IReader &r, std::list<T> *list) {
- int len;
+ int len=0;
r.Read(&len, sizeof(len));
for (int i = 0; i < len; i++) {
T obj(r);
int ret = vasprintf(&result, gettext(msgid), args);
if (ret == -1)
- throw std::bad_alloc();
+ throw std::string("bad_alloc");
va_end(args);
std::string resultStr(result);
int ret = vasprintf(&result, ngettext(singularForm, pluralForm, count), args);
if (ret == -1)
- throw std::bad_alloc();
+ throw std::string("bad_alloc");
va_end(args);
std::string resultStr(result);
evas_object_size_hint_expand_set(content_, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(content_, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_genlist_mode_set(content_, ELM_LIST_COMPRESS);
- elm_genlist_realization_mode_set(content_, EINA_TRUE);
evas_object_show(content_);
eext_object_event_callback_add(content_, EEXT_CALLBACK_BACK,
EditAlarmView::BackButtonOnMainClicked, this);