Merge remote-tracking branch 'occivink/ignore-debug'

This commit is contained in:
Maxime Coste 2017-06-03 15:26:51 +01:00
commit 6906e6924b

View File

@ -1601,7 +1601,8 @@ void context_wrap(const ParametersParser& parser, Context& context, Func func)
transform(std::mem_fn(&std::unique_ptr<Buffer>::get));
Vector<SafePtr<Buffer>> buffers{ptrs.begin(), ptrs.end()};
for (auto buffer : buffers)
context_wrap_for_buffer(*buffer);
if (not (buffer->flags() & Buffer::Flags::Debug))
context_wrap_for_buffer(*buffer);
}
else
for (auto& name : split(*bufnames, ','))