~juan457/+junk/zorba

« back to all changes in this revision

Viewing changes to src/zorbaserialization/serialize_basic_types.h

  • Committer: Markos Zaharioudakis
  • Date: 2012-07-11 15:38:39 UTC
  • mfrom: (10924 zorba)
  • mto: This revision was merged to the branch mainline in revision 10932.
  • Revision ID: markos_za@yahoo.com-20120711153839-0mkh15cg2ubknchd
work in progress

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
    if (ar.is_serializing_out())                  \
94
94
    {                                             \
95
95
      lSize = vec.size();                         \
96
 
      ar & lSize;                                 \
 
96
      ar & lSize;                 \
97
97
      for (csize i = 0; i < lSize; ++i)           \
98
98
      {                                           \
99
99
        bool b = vec[i];                          \
102
102
    }                                             \
103
103
    else                                          \
104
104
    {                                             \
105
 
      ar & lSize;                                 \
 
105
      ar & lSize;                 \
106
106
      vec.reserve(lSize);                         \
107
107
      for (csize i = 0; i < lSize; ++i)           \
108
108
      {                                           \