mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-29 21:34:50 +00:00
Fix MSVC build
Include ctime for std::time_t
This commit is contained in:
parent
4965be73ea
commit
1265c73e01
2 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
LICENSE END */
|
LICENSE END */
|
||||||
#include "printerdemo.h"
|
#include "printerdemo.h"
|
||||||
|
|
||||||
|
#include <ctime>
|
||||||
|
|
||||||
struct InkLevelModel : sixtyfps::Model<InkLevel>
|
struct InkLevelModel : sixtyfps::Model<InkLevel>
|
||||||
{
|
{
|
||||||
int row_count() const override { return m_data.size(); }
|
int row_count() const override { return m_data.size(); }
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
LICENSE END */
|
LICENSE END */
|
||||||
#include <sixtyfps_interpreter.h>
|
#include <sixtyfps_interpreter.h>
|
||||||
|
|
||||||
|
#include <ctime>
|
||||||
|
|
||||||
using sixtyfps::interpreter::Value;
|
using sixtyfps::interpreter::Value;
|
||||||
|
|
||||||
struct InkLevelModel : sixtyfps::Model<Value>
|
struct InkLevelModel : sixtyfps::Model<Value>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue