Skip to content

Commit

Permalink
Increase the version of upcoming branch
Browse files Browse the repository at this point in the history
Otherwise it is hard (or even impossible) to maintain compatibility of applications with release branches and master branch simultaneously.
  • Loading branch information
glassez authored Aug 18, 2022
1 parent 283cea5 commit 0e2f948
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions include/libtorrent/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ see LICENSE file.
#include <cstdint>

#define LIBTORRENT_VERSION_MAJOR 2
#define LIBTORRENT_VERSION_MINOR 0
#define LIBTORRENT_VERSION_TINY 7
#define LIBTORRENT_VERSION_MINOR 1
#define LIBTORRENT_VERSION_TINY 0

// the format of this version is: MMmmtt
// M = Major version, m = minor version, t = tiny version
#define LIBTORRENT_VERSION_NUM ((LIBTORRENT_VERSION_MAJOR * 10000) + (LIBTORRENT_VERSION_MINOR * 100) + LIBTORRENT_VERSION_TINY)

#define LIBTORRENT_VERSION "2.0.7.0"
#define LIBTORRENT_VERSION "2.1.0.0"
#define LIBTORRENT_REVISION "9cbecaa64"

namespace libtorrent {

// the major, minor and tiny versions of libtorrent
constexpr int version_major = 2;
constexpr int version_minor = 0;
constexpr int version_tiny = 7;
constexpr int version_minor = 1;
constexpr int version_tiny = 0;

// the libtorrent version in string form
constexpr char const* version_str = "2.0.7.0";
constexpr char const* version_str = "2.1.0.0";

// the git commit of this libtorrent version
constexpr std::uint64_t version_revision = 0x9cbecaa64;
Expand Down

0 comments on commit 0e2f948

Please sign in to comment.