Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error for using qtl::bind_field with 'std::vector<char>' #26

Open
Nickllsn opened this issue Oct 14, 2024 · 0 comments
Open

Compile error for using qtl::bind_field with 'std::vector<char>' #26

Nickllsn opened this issue Oct 14, 2024 · 0 comments

Comments

@Nickllsn
Copy link

/usr/include/c++/9/bits/stl_vector.h:746:7: note: conversion of argument 1 would be ill-formed:
In file included from ../../thirdparty/qtl/include/qtl_sqlite.hpp:8,
......
../../thirdparty/qtl/include/qtl_common.hpp:86:63: error: invalid conversion from ‘const char_type*’ {aka ‘const char*’} to ‘std::vector::size_type’ {aka ‘long unsigned int’} [-fpermissive]
86 | void assign(const char_type* str, size_t n) { m_value.assign(str, n); }
| ^~~
| |
| const char_type* {aka const char*}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant