Skip to content

Commit

Permalink
debug detail
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhzzz0821 committed Dec 16, 2024
1 parent 0cd45c6 commit 1cdf7c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/unit-test-cpp-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,8 @@ jobs:
name: tsfile-${{ runner.os }}-whl
path: python/dist/tsfile-*.whl
retention-days: 1

- name: Print name on failure
if: failure()
run: |
objdump -p D:/a/tsfile/tsfile/cpp/target/build/lib/TsFile_Test.exe
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ struct ANTLR4CPP_PUBLIC Any
}

private:
template<int N = 0, typename std::enable_if<N == N && std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
template<typename U = T, typename std::enable_if<std::is_nothrow_copy_constructible<U>::value, int>::type = 0>
Base* clone() const {
return new Derived<T>(value);
}

template<int N = 0, typename std::enable_if<N == N && !std::is_nothrow_copy_constructible<T>::value, int>::type = 0>
template<typename U = T, typename std::enable_if<!std::is_nothrow_copy_constructible<U>::value, int>::type = 0>
Base* clone() const {
return nullptr;
}
Expand Down

0 comments on commit 1cdf7c2

Please sign in to comment.