bindings: cxx: initialize the line_request flags before using them
authorBartosz Golaszewski <bartekgola@gmail.com>
Wed, 9 May 2018 11:19:30 +0000 (13:19 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 9 May 2018 16:00:39 +0000 (18:00 +0200)
commit3e90b5c8903743288a0a209ed5106783533f1928
treee4c2dbfdabbf7380e7b853fdbfd73254683d7435
parentc44b55d597492464246d11ea9c34e237a5be744e
bindings: cxx: initialize the line_request flags before using them

We store the flag values in the request flags mapping before
initializing them so flags don't get translated correctly in
line_bulk::request(). Fix it by moving the flag definitions above the
mapping initialization.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/cxx/line_bulk.cpp