Sfoglia il codice sorgente

更新 src/qrcode.cpp

1585346868 1 mese fa
parent
commit
98b57851d9
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/qrcode.cpp

+ 1 - 1
src/qrcode.cpp

@@ -207,7 +207,7 @@ sol::table module::qrcode::decode(int width, int height, const std::string& pixe
     return collect(s);
 }
 
-sol::table module::qrcode::decode_image(const std::string& data, sol::this_state s)
+sol::table module::qrcode::decode_image(const std::string_view& data, sol::this_state s)
 {
     sol::state_view lua(s);
     m_error.clear();