Diff for /parser3/src/include/pa_stack.h between versions 1.29 and 1.30

version 1.29, 2017/02/07 22:00:36 version 1.30, 2019/12/05 22:21:16
Line 39  public: Line 39  public:
         /// call this prior to collecting garbage [in unused part of stack there may be pointers(unused)]          /// call this prior to collecting garbage [in unused part of stack there may be pointers(unused)]
         void wipe_unused() {          void wipe_unused() {
                 if(size_t above_top_size=this->fallocated-this->fused)                  if(size_t above_top_size=this->fallocated-this->fused)
                         memset(&this->felements[this->fused], 0, above_top_size*sizeof(T));                          memset((void *)&this->felements[this->fused], 0, above_top_size*sizeof(T));
         }          }
   
 protected:  protected:

Removed from v.1.29  
changed lines
  Added in v.1.30


E-mail: