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

Force execute compile time #249

Merged
merged 1 commit into from
Nov 9, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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