diff --git a/include/fc/container/zeroed_array.hpp b/include/fc/container/zeroed_array.hpp index a51abec..0f91a0f 100644 --- a/include/fc/container/zeroed_array.hpp +++ b/include/fc/container/zeroed_array.hpp @@ -1,4 +1,3 @@ -#pragma once /* * Copyright (c) 2019 BitShares Blockchain Foundation, and contributors * @@ -22,6 +21,7 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ +#pragma once #include namespace fc { @@ -65,8 +65,10 @@ namespace fc { pack( s, static_cast&>( v ), _max_depth ); } template - inline void unpack( Stream& s, zero_initialized_array& v, uint32_t _max_depth ) { try { - unpack( s, static_cast&>( v ), _max_depth ); - } FC_RETHROW_EXCEPTIONS( warn, "zero_initialized_array", ("length",N) ) } + inline void unpack( Stream& s, zero_initialized_array& v, uint32_t _max_depth ) { + try { + unpack( s, static_cast&>( v ), _max_depth ); + } FC_RETHROW_EXCEPTIONS( warn, "zero_initialized_array", ("length",N) ) + } } }