Use XMLNode::get_property in Session::restore_history
authorTim Mayberry <mojofunk@gmail.com>
Wed, 19 Apr 2017 12:21:03 +0000 (22:21 +1000)
committerTim Mayberry <mojofunk@gmail.com>
Fri, 21 Apr 2017 02:46:04 +0000 (12:46 +1000)
commit384478a745e55aca9aa8b8ded8c08ea900cf0849
tree486f432628684859dc9d30c9b54c7045dd57e333
parentd19ec8ba46274bd41c251f81e63503183db15f08
Use XMLNode::get_property in Session::restore_history

Avoid using std::stringstream due to potential future issues with C++ locale.

Also avoids potential NULL pointer dereferences.
libs/ardour/session_state.cc