-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix tm_timer #45
fix tm_timer #45
Conversation
Please supplement the test. |
OK, I'll submit the test later. |
53584e8
to
585d8dc
Compare
挂了四个两个是引入了doctest,一个是标准库冲突,还有一个获取时间出现了负值 |
你需要把上面的关键代码移动到 https://github.com/XmacsLabs/lolly/blob/main/System/config_l1.h.xmake 这样就不需要重复处理这个问题了 |
好的,我去添加一下xmake |
use |
代码格式化只能hpp和cpp文件。。。 |
@Charonxin 尽可能不要在别人的分支上做提交,这样做或许会是一种不尊重别人的行为 |
OK |
While conducting unit tests, I noticed that in the tm_timer functions, the tm_ostream parameter was not being passed by reference. This caused the memory of tm_ostream to be deallocated when the function finished, resulting in unexpected null pointers. Therefore, I changed these parameters to be passed by reference.