mirror of https://github.com/status-im/qzxing.git
trying to fix failing compilation on MSVC as reported by appveyor.
This commit is contained in:
parent
9d70b9a33b
commit
82fcb99cf1
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue