Skip to content

Commit

Permalink
CStrictInteger.h のヘッダのインクルードの依存関係の不足を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
m-tmatma committed Jan 25, 2019
1 parent 4ee872b commit 7c127d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sakura_core/basis/CStrictInteger.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#ifndef SAKURA_CSTRICTINTEGER_6F202774_0F82_4BB7_B107_37DE5443309E_H_
#define SAKURA_CSTRICTINTEGER_6F202774_0F82_4BB7_B107_37DE5443309E_H_

#include "primitive.h" // for Int

//int以外の整数型もintにキャストして扱う
#define STRICTINT_OTHER_TYPE_AS_INT(TYPE) \
Me& operator += (TYPE rhs) { return operator += ((int)rhs); } \
Expand Down

0 comments on commit 7c127d7

Please sign in to comment.