ext/libcouchbase/tools/docgen/docgen.h in libcouchbase-0.0.4 vs ext/libcouchbase/tools/docgen/docgen.h in libcouchbase-0.0.5
- old
+ new
@@ -105,10 +105,10 @@
}
RawDocGenerator(uint32_t minsz, uint32_t maxsz)
: m_sizes(gen_graded_sizes(minsz, maxsz)) {
// Populate the buffer to its capacity
- m_buf.insert(0, '#', maxsz);
+ m_buf.insert(0, maxsz, '#');
}
class MyState : public GeneratorState {
public: