Skip to content

Commit

Permalink
Update sqlpp11.
Browse files Browse the repository at this point in the history
  • Loading branch information
egorpugin committed Nov 29, 2023
1 parent b769e4c commit f609900
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/sw/manager/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ void PackagesDatabase::installPackage(const Package &p, size_t input_settings_ha
// misc
pkg_ver.updated = "",

pkg_ver.sdir = sqlpp::tvin(to_string(p.getData().sdir.u8string()))
pkg_ver.sdir = to_string(p.getData().sdir.u8string())
));
version_id = db->last_insert_id();
}
Expand Down
4 changes: 2 additions & 2 deletions src/sw/manager/database.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

#include <sw/support/filesystem.h>

#include <sqlpp11/sqlite3/connection.h>

#include <chrono>
#include <memory>
#include <optional>
#include <vector>

namespace sqlpp::sqlite3 { class connection; }

namespace sw
{

Expand Down
2 changes: 1 addition & 1 deletion sw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void build(Solution &s)
"org.sw.demo.nlohmann.json"_dep,
"org.sw.demo.boost.variant"_dep,
"org.sw.demo.boost.dll"_dep,
"org.sw.demo.rbock.sqlpp11_connector_sqlite3"_dep
"org.sw.demo.rbock.sqlpp11"_dep
;

manager.Public -= "pub.egorpugin.primitives.win32helpers"_dep;
Expand Down

0 comments on commit f609900

Please sign in to comment.