Skip to content

Commit

Permalink
Merge pull request #240 from hosseinmoein/Hossein/cpp20
Browse files Browse the repository at this point in the history
Added likely and now requiring C++20
  • Loading branch information
hosseinmoein committed May 15, 2023
2 parents 474415d + 2d32a0a commit 01d5add
Show file tree
Hide file tree
Showing 29 changed files with 1,609 additions and 1,598 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ target_sources(DataFrame
src/Utils/DateTime.cc
)

target_compile_features(DataFrame PUBLIC cxx_std_17)
target_compile_features(DataFrame PUBLIC cxx_std_20)
target_compile_definitions(DataFrame
PRIVATE
$<$<BOOL:${HMDF_HAVE_CLOCK_GETTIME}>:HMDF_HAVE_CLOCK_GETTIME>
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
[![Build status](https://ci.appveyor.com/api/projects/status/hjw01qui3bvxs8yi?svg=true)](https://ci.appveyor.com/project/hosseinmoein/dataframe)
![GitHub](https://img.shields.io/github/license/hosseinmoein/DataFrame.svg?color=red&style=popout)
![GitHub tag (latest by date)](https://img.shields.io/github/tag-date/hosseinmoein/DataFrame.svg?color=blue&label=Official%20Release&style=popout)<BR>
[![C++17](https://img.shields.io/badge/C%2B%2B-17-blue.svg)](https://isocpp.org/std/the-standard )
[![C++20](https://img.shields.io/badge/C%2B%2B-20-blue.svg)](https://isocpp.org/std/the-standard )
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/db646376a4014c3788c7224e670fe451)](https://app.codacy.com/manual/hosseinmoein/DataFrame?utm_source=github.com&utm_medium=referral&utm_content=hosseinmoein/DataFrame&utm_campaign=Badge_Grade_Dashboard)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/hosseinmoein/DataFrame/master)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/hosseinmoein/DataFrame/graphs/commit-activity)
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/dataframe_performance.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int, char *[]) {

const auto first = time(nullptr);
auto index_vec =
MyDataFrame::gen_datetime_index("01/01/2010", "08/15/2019",
MyDataFrame::gen_datetime_index("01/01/1970", "08/15/2019",
time_frequency::secondly, 1);
const auto index_sz = index_vec.size();
MyDataFrame df;
Expand Down
Loading

0 comments on commit 01d5add

Please sign in to comment.