History

TimeSeriesPlatformLibrary: Implemented signal index cache serialization and general code clean-up.

J. Ritchie Carroll committed 7 years ago

Commit 7981e091 parent 496df2028 files · +1096 −825Browse files

Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Data/DataSet.cpp (1 of 28 files). Show all

Unified · Split

Source/Libraries/TimeSeriesPlatformLibrary/Data/DataSet.cpp+1−1
@@ -144,7 +144,7 @@ void DataSet::ReadXml(const uint8_t* buffer, uint32_t length) · 143 unmodified lines
144{144{
145 xml_document document;145 xml_document document;
146 146
147 const xml_parse_result result = document.load_buffer_inplace(const_cast<uint8_t*>(buffer), length);147 const xml_parse_result result = document.load_buffer(buffer, length);
148 148
149 if (result.status != xml_parse_status::status_ok)149 if (result.status != xml_parse_status::status_ok)
150 throw DataSetException("Failed to load XML from buffer: " + string(result.description()));150 throw DataSetException("Failed to load XML from buffer: " + string(result.description()));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t