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

Example of refreshing table contents #54

Merged
merged 6 commits into from Oct 5, 2020
Merged

Example of refreshing table contents #54

merged 6 commits into from Oct 5, 2020

Conversation

mohsenomidi
Copy link
Contributor

Simple usage real-time refreshing table

demonstration of real time table refresh. 
This is the simple use case of refreshing the table.
Update for refresh_table example
add missing target_link_libraries
samples/refresh_table.cpp Outdated Show resolved Hide resolved
samples/refresh_table.cpp Outdated Show resolved Hide resolved
1- change variable to atomic to avoid data races.
2- using std::thread for cross-platform support.
3- remove unnecessary include files .
@p-ranav
Copy link
Owner

p-ranav commented Oct 4, 2020

Travis build is failing, please check the log here: https://travis-ci.com/github/p-ranav/tabulate/jobs/394791629

You're missing some header includes for thread, chrono, random, vector etc.

@mohsenomidi
Copy link
Contributor Author

It exists but in my system it compiled without those headers, I think it already included in the original single header file, any way, i will reverted this change and put back the headers.

Fix the compile error (Missing includes)
@mohsenomidi
Copy link
Contributor Author

All checks done.
@p-ranav Please review.

@p-ranav p-ranav merged commit 67b010d into p-ranav:master Oct 5, 2020
@p-ranav
Copy link
Owner

p-ranav commented Oct 5, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

2 participants