Changeset 80c703 in git for libpolys/tests/polys_test.h


Ignore:
Timestamp:
Jan 10, 2013, 4:39:56 PM (11 years ago)
Author:
Oleksandr Motsak <http://goo.gl/mcpzY>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5fdf7adfacd151eb7c448b03ce681f70b7211e79
Parents:
538512de5ab210253d8edeee07e4a22b42392e56
git-author:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:39:56+01:00
git-committer:
Oleksandr Motsak <http://goo.gl/mcpzY>2013-01-10 16:45:06+01:00
Message:
Fixing 'make check' due to Hans's "chg: StringAppend/StringSetS/StringEndS: use multiple times"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/tests/polys_test.h

    r538512 r80c703  
    8080    p_Write(a, r);
    8181
    82     const char* s = StringAppendS("");
    83 
    84     std::stringstream ss;  ss << s;
    85 
    86     StringSetS("");
     82    std::stringstream ss;
     83    {
     84      char* s = StringEndS();  ss << s; omFree(s);
     85    }
     86     
    8787    return ss.str();
    8888  }
Note: See TracChangeset for help on using the changeset viewer.