fix_cxx23.patch 438 B

12345678910111213
  1. diff --git a/include/webdriverxx/by.h b/include/webdriverxx/by.h
  2. index 0ee2a1b..3f5b44e 100644
  3. --- a/include/webdriverxx/by.h
  4. +++ b/include/webdriverxx/by.h
  5. @@ -8,7 +8,7 @@ namespace webdriverxx {
  6. class By { // copyable
  7. public:
  8. - By() : strategy_("css selector"), value_(nullptr) {}
  9. + By() : strategy_("css selector"), value_("") {}
  10. By(const std::string& strategy, const std::string& value)
  11. : strategy_(strategy)