Ver código fonte

remove void test return statement (#4309)

xiongyang 1 ano atrás
pai
commit
fad473758c
1 arquivos alterados com 0 adições e 2 exclusões
  1. 0 2
      packages/b/boost/xmake.lua

+ 0 - 2
packages/b/boost/xmake.lua

@@ -444,7 +444,6 @@ package("boost")
                     static void test() {
                         boost::iostreams::filtering_ostream out;
                         out.push(boost::iostreams::zstd_compressor());
-                        return 0;
                     }
                 ]]}, {configs = {languages = "c++14"}}))
             end
@@ -455,7 +454,6 @@ package("boost")
                     static void test() {
                         boost::iostreams::filtering_ostream out;
                         out.push(boost::iostreams::lzma_compressor());
-                        return 0;
                     }
                  ]]}, {configs = {languages = "c++14"}}))
             end