Closed ltog closed 8 years ago
Strictly speaking, m_layer_name
ist not uninitialized, but initialized with the default constructor, which initializes it to an empty string. Therefore no warning is generated, but the behaviour is nevertheless unexpected/undesired and should be fixed.
Further information:
This line wasn't supposed to be commited...
m_layer_name
declared in https://github.com/ltog/osmi-addresses/blob/d87af1c6e2727d88ff5c5992b4c82fd9e36ba292/osmi/Writer.hpp#L50 is not initialized anywhere...Usage of
layer_name
( https://github.com/ltog/osmi-addresses/blob/d87af1c6e2727d88ff5c5992b4c82fd9e36ba292/osmi/Writer.hpp#L18 ) should be substituted withm_layer_name
.