Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #249 from fingera/3-force-exec-compile-time
Browse files Browse the repository at this point in the history
Force execute compile time
  • Loading branch information
larryk85 authored Nov 9, 2018
2 parents 94c517c + dce6822 commit 925332b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion libraries/eosiolib/name.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,5 +218,6 @@ namespace eosio {
*/
template <typename T, T... Str>
inline constexpr eosio::name operator""_n() {
return eosio::name{std::string_view{eosio::detail::to_const_char_arr<Str...>::value, sizeof...(Str)}};
constexpr auto x = eosio::name{std::string_view{eosio::detail::to_const_char_arr<Str...>::value, sizeof...(Str)}};
return x;
}
1 change: 0 additions & 1 deletion modules/EosioWasmToolchain.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ include_directories(
macro(add_contract CONTRACT_NAME TARGET)
add_executable( ${TARGET}.wasm ${ARGN} )
target_compile_options( ${TARGET}.wasm PUBLIC -abigen )
set_target_properties( ${TARGET}.wasm PROPERTIES LINKER_LANGUAGE C )
get_target_property(BINOUTPUT ${TARGET}.wasm BINARY_DIR)
target_compile_options( ${TARGET}.wasm PUBLIC -abigen_output=${BINOUTPUT}/${TARGET}.abi )
target_compile_options( ${TARGET}.wasm PUBLIC -contract ${CONTRACT_NAME} )
Expand Down

0 comments on commit 925332b

Please sign in to comment.