diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-21 14:33:23 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-10-21 14:33:23 +0000 |
commit | 2834888b4fdae031acaa7a773fcf202c59d169f2 (patch) | |
tree | 04eb16d69012122375fb54a069cf25a795acac7f /config | |
parent | d593d1b4a18375475af9a685a9181023aa8e2642 (diff) |
We only need one vtag
Diffstat (limited to 'config')
-rw-r--r-- | config/src/vespa/config/common/vespa_version.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/src/vespa/config/common/vespa_version.cpp b/config/src/vespa/config/common/vespa_version.cpp index 595f4dfd23b..5e23d5889e6 100644 --- a/config/src/vespa/config/common/vespa_version.cpp +++ b/config/src/vespa/config/common/vespa_version.cpp @@ -1,14 +1,11 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include "vespa_version.h" - -#ifndef V_TAG_COMPONENT -#define V_TAG_COMPONENT "1.0.0" -#endif +#include <vespa/vespalib/component/vtag.h> namespace config { -const VespaVersion currentVersion(VespaVersion::fromString(vespalib::string(V_TAG_COMPONENT))); +const VespaVersion currentVersion(VespaVersion::fromString(vespalib::string(vespalib::VersionTagComponent))); VespaVersion::VespaVersion(const VespaVersion & vespaVersion) |