minor fix for warning of infinite loops

This commit is contained in:
Arvid Norberg 2019-03-02 12:10:19 +01:00 committed by Arvid Norberg
parent e106602f49
commit 4dd9325277
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ namespace libtorrent {
};
#define TORRENT_INCREMENT(x) increment_guard inc_(x)
#else
#define TORRENT_INCREMENT(x) do {} while (false)
#define TORRENT_INCREMENT(x) do {} TORRENT_WHILE_0
#endif
}