Skip to content
Snippets Groups Projects
Commit 48d2f14b authored by Adriaan Renting's avatar Adriaan Renting
Browse files

SW-227: Cleaner code for generating the feedback version number.

parent 0d958b91
No related branches found
No related tags found
No related merge requests found
...@@ -63,8 +63,8 @@ namespace LOFAR ...@@ -63,8 +63,8 @@ namespace LOFAR
static const int major_version = 3; static const int major_version = 3;
static const int minor_version = 1; static const int minor_version = 1;
static const int patch_number = 0; static const int patch_number = 0;
std::string feedback_version = (boost::format("%02d.%02d.%02d") % static const std::string feedback_version(boost::str(boost::format("%02d.%02d.%02d") %
major_version % minor_version % patch_number).str(); major_version % minor_version % patch_number)));
private: private:
const ObservationSettings settings; const ObservationSettings settings;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment