Skip to content

Commit

Permalink
GRR
Browse files Browse the repository at this point in the history
  • Loading branch information
Thopic committed Sep 7, 2024
1 parent 6080e94 commit 2eea34f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def cpp_flag(compiler):
"""Return the -std=c++[11/14/17] compiler flag.
The newer version is prefered over c++11 (when it is available).
"""
flags = ['-std=c++14'] # , '-std=c++14', '-std=c++11']
flags = ['-std=c++11'] # , '-std=c++14', '-std=c++11']

for flag in flags:
if has_flag(compiler, flag):
Expand Down
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@


#include "trie_container.hpp"
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
Expand Down Expand Up @@ -48,7 +49,7 @@ PYBIND11_MODULE(atriegc, m) {


#ifdef VERSION_INFO
m.attr("__version__") = VERSION_INFO;
m.attr("__version__") = PYBIND11_TOSTRING(VERSION_INFO);
#else
m.attr("__version__") = "dev";
#endif
Expand Down

0 comments on commit 2eea34f

Please sign in to comment.