diff --git a/CMakeLists.txt b/CMakeLists.txt index ce57277..6ee47eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,7 +36,7 @@ HunterGate( FILEPATH "${BCOS_UTILITIES_CMAKE_DIR}/config.cmake" ) project(bcos-utilities VERSION "1.0.0") -set(VERSION_SUFFIX "-rc1") +set(VERSION_SUFFIX "-rc2") # basic settings include(Options) diff --git a/bcos-utilities/Exceptions.h b/bcos-utilities/Exceptions.h index f80955e..d8317bf 100644 --- a/bcos-utilities/Exceptions.h +++ b/bcos-utilities/Exceptions.h @@ -47,10 +47,9 @@ struct Exception : virtual std::exception, virtual boost::exception }; /// construct a new exception class overriding Exception -#define DERIVE_BCOS_EXCEPTION(X) \ - struct X : virtual Exception \ - { \ - explicit X(std::string _m = std::string()) : Exception(_m){}; \ +#define DERIVE_BCOS_EXCEPTION(X) \ + struct X : virtual Exception \ + { \ } DERIVE_BCOS_EXCEPTION(ConstructFixedBytesFailed); DERIVE_BCOS_EXCEPTION(BadCast);