trying to fix failing compilation on MSVC as reported by appveyor.

This commit is contained in:
Nikos Ftylitakis 2020-02-12 12:27:21 +02:00
parent 9d70b9a33b
commit 82fcb99cf1
3 changed files with 2 additions and 7 deletions

View File

@ -24,7 +24,6 @@
#include <zxing/qrcode/ErrorCorrectionLevel.h>
#include <zxing/ReaderException.h>
#include <zxing/common/BitMatrix.h>
#include <zxing/common/Counted.h>
#include <vector>
namespace zxing {

View File

@ -21,9 +21,7 @@
* limitations under the License.
*/
#include <zxing/common/Counted.h>
#include <zxing/qrcode/Version.h>
#include <zxing/common/Counted.h>
namespace zxing {
namespace qrcode {
@ -55,7 +53,7 @@ public:
static Mode HANZI;
static Mode& forBits(int bits);
int getCharacterCountBits(const Ref<Version>version) const;
int getCharacterCountBits(Ref<Version>version) const;
int getBits() const { return bits_; }
Mode& operator=(const Mode& other);

View File

@ -21,9 +21,7 @@
#include <zxing/ZXing.h>
#include <zxing/qrcode/decoder/Mode.h>
#include <zxing/common/Counted.h>
#include <zxing/ReaderException.h>
#include <zxing/qrcode/Version.h>
#include <sstream>
using zxing::qrcode::Mode;
@ -96,7 +94,7 @@ Mode& Mode::forBits(int bits) {
}
}
int Mode::getCharacterCountBits(const Ref<Version>version) const
int Mode::getCharacterCountBits(Ref<Version>version) const
{
int number = version->getVersionNumber();
if (number <= 9) {