mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 04:45:13 +00:00
reformat
This commit is contained in:
parent
dc276290e9
commit
619e21295d
4 changed files with 26 additions and 33 deletions
|
@ -1,14 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
template<typename T>
|
||||
struct VRefMut {
|
||||
struct VRefMut
|
||||
{
|
||||
const T *vtable;
|
||||
void *instance;
|
||||
};
|
||||
|
||||
// For the C++'s purpose, they are all the same
|
||||
template<typename T> using VRef = VRefMut<T>;
|
||||
template<typename T> using VBox = VRefMut<T>;
|
||||
template<typename T>
|
||||
using VRef = VRefMut<T>;
|
||||
template<typename T>
|
||||
using VBox = VRefMut<T>;
|
||||
|
||||
/*
|
||||
template<typename T>
|
||||
|
@ -23,4 +26,3 @@ struct VRef {
|
|||
const void *instance;
|
||||
};
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue