aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMourad Gouicem <[email protected]>2018-02-13 14:00:06 -0800
committerMourad Gouicem <[email protected]>2018-02-13 14:00:06 -0800
commit1f96b5e0c9ad7266f6ff5a9076de7614bcd569ca (patch)
tree2bf71d1a27ade9638ade0d858b2d592915d4db25
parentc0f885ac521c684e7e05d16f7b710fe7cd57e220 (diff)
downloadxbyak-1f96b5e0c9ad7266f6ff5a9076de7614bcd569ca.tar.gz
xbyak-1f96b5e0c9ad7266f6ff5a9076de7614bcd569ca.zip
Fixes an error raised by clang < 3.9
-rw-r--r--xbyak/xbyak.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index 96809d8..39594ce 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -566,7 +566,7 @@ struct EvexModifierRounding {
explicit EvexModifierRounding(int rounding) : rounding(rounding) {}
int rounding;
};
-struct EvexModifierZero{};
+struct EvexModifierZero{EvexModifierZero() {}};
struct Xmm : public Mmx {
explicit Xmm(int idx = 0, Kind kind = Operand::XMM, int bit = 128) : Mmx(idx, kind, bit) { }