소스 검색

Fix build break on strict compilers

Stricter c++ compilers check template validity at point of
declaration rather than point of expansion, and complain about
a missing include file.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 년 전
부모
커밋
cc426cdcca
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      thorlcr/shared/thor.hpp

+ 2 - 0
thorlcr/shared/thor.hpp

@@ -36,6 +36,8 @@ typedef size32_t rowidx_t;
 #define RCIDXMAX ((rowidx_t)(size32_t)-1)
 #define RIPF ""
 
+#include "jexcept.hpp"
+
 // validate that type T doesn't truncate
 template <class T>
 inline rowcount_t validRC(T X)