Skip to content
Snippets Groups Projects

Unify API and Scale types

Merged Mikhail Svechnikov requested to merge scale_API into r21
1 unresolved thread
3 files
+ 1
1
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 1
1
@@ -69,7 +69,7 @@ Scale* Util::Parse::parseScale(std::istream& input_stream)
::readLineOfDoubles(coordinates, iss);
return newListScan(name, coordinates);
} else if (type == "GenericScale" || type == "Scale" /* for compatibility with pre-21 */) {
} else if (type == "GenericScale") {
std::string name;
if (!(iss >> name))
throw std::runtime_error("Reading GenericScale: cannot read name");
Loading