Merge remote-tracking branch 'origin/betting' into betting-merge
This commit is contained in:
commit
8df97c6b35
2 changed files with 4 additions and 4 deletions
|
|
@ -58,7 +58,7 @@ function(get_git_head_revision _refspecvar _hashvar)
|
|||
file(READ ${GIT_DIR} submodule)
|
||||
string(REGEX REPLACE "gitdir: (.*)\n$" "\\1" GIT_DIR_RELATIVE ${submodule})
|
||||
get_filename_component(SUBMODULE_DIR ${GIT_DIR} PATH)
|
||||
get_filename_component(GIT_DIR ${SUBMODULE_DIR}/${GIT_DIR_RELATIVE} ABSOLUTE)
|
||||
get_filename_component(GIT_DIR ${GIT_DIR_RELATIVE} ABSOLUTE BASE_DIR ${SUBMODULE_DIR})
|
||||
endif()
|
||||
set(GIT_DATA "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/git-data")
|
||||
if(NOT EXISTS "${GIT_DATA}")
|
||||
|
|
|
|||
|
|
@ -331,13 +331,13 @@ namespace fc {
|
|||
struct if_enum<fc::true_type> {
|
||||
template<typename Stream, typename T>
|
||||
static inline void pack( Stream& s, const T& v ) {
|
||||
fc::raw::pack(s, (int64_t)v);
|
||||
fc::raw::pack(s, signed_int((int32_t)v));
|
||||
}
|
||||
template<typename Stream, typename T>
|
||||
static inline void unpack( Stream& s, T& v ) {
|
||||
int64_t temp;
|
||||
signed_int temp;
|
||||
fc::raw::unpack(s, temp);
|
||||
v = (T)temp;
|
||||
v = (T)temp.value;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue