Skip to content

Commit e246862

Browse files
authored
Merge pull request #1373 from fnc12/fix_pack_indexing
Circumvented Clang's buggy pack indexing expression evaluation
2 parents 8533b9e + 6c927a1 commit e246862

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

appveyor.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ environment:
2525
CC: clang
2626
CXX: clang++
2727
SQLITE_ORM_CXX_STANDARD: "-DSQLITE_ORM_ENABLE_CXX_14=ON"
28-
cmake_build_parallel: --parallel
28+
cmake_build_parallel: ""
2929

3030
- job_name: gcc, C++14
3131
appveyor_build_worker_image: Ubuntu
@@ -108,7 +108,7 @@ for:
108108
install:
109109
- |-
110110
cd C:\Tools\vcpkg
111-
git fetch --tags && git checkout 2024.07.12
111+
git fetch --tags && git checkout 2025.01.13
112112
cd %APPVEYOR_BUILD_FOLDER%
113113
C:\Tools\vcpkg\bootstrap-vcpkg.bat -disableMetrics
114114
C:\Tools\vcpkg\vcpkg integrate install
@@ -141,7 +141,7 @@ for:
141141
install:
142142
- |-
143143
pushd $HOME/vcpkg
144-
git fetch --tags && git checkout 2024.07.12
144+
git fetch --tags && git checkout 2025.01.13
145145
popd
146146
$HOME/vcpkg/bootstrap-vcpkg.sh -disableMetrics
147147
$HOME/vcpkg/vcpkg integrate install --overlay-triplets=vcpkg/triplets
@@ -169,7 +169,7 @@ for:
169169
# using custom vcpkg triplets for building and linking dynamic dependent libraries
170170
install:
171171
- |-
172-
git clone --depth 1 --branch 2024.07.12 https://github.com/microsoft/vcpkg.git $HOME/vcpkg
172+
git clone --depth 1 --branch 2025.01.13 https://github.com/microsoft/vcpkg.git $HOME/vcpkg
173173
$HOME/vcpkg/bootstrap-vcpkg.sh -disableMetrics
174174
$HOME/vcpkg/vcpkg integrate install --overlay-triplets=vcpkg/triplets
175175
vcpkg install sqlite3[core,dbstat,math,json1,fts5,soundex] catch2 --overlay-triplets=vcpkg/triplets

dev/functional/index_sequence_util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace sqlite_orm {
99
* Get the index value of an `index_sequence` at a specific position.
1010
*/
1111
template<size_t Pos, size_t... Idx>
12-
SQLITE_ORM_CONSTEVAL size_t index_sequence_value_at(std::index_sequence<Idx...>) {
12+
SQLITE_ORM_CONSTEVAL auto index_sequence_value_at(std::index_sequence<Idx...>) {
1313
return Idx...[Pos];
1414
}
1515
#elif defined(SQLITE_ORM_FOLD_EXPRESSIONS_SUPPORTED)

include/sqlite_orm/sqlite_orm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1371,7 +1371,7 @@ namespace sqlite_orm {
13711371
* Get the index value of an `index_sequence` at a specific position.
13721372
*/
13731373
template<size_t Pos, size_t... Idx>
1374-
SQLITE_ORM_CONSTEVAL size_t index_sequence_value_at(std::index_sequence<Idx...>) {
1374+
SQLITE_ORM_CONSTEVAL auto index_sequence_value_at(std::index_sequence<Idx...>) {
13751375
return Idx...[Pos];
13761376
}
13771377
#elif defined(SQLITE_ORM_FOLD_EXPRESSIONS_SUPPORTED)

0 commit comments

Comments
 (0)