mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Make Preferences a class
this is going to be modified a lot and passed around, so avoid making many copies on the stack.
This commit is contained in:
parent
ddc3d61510
commit
e611e21d02
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# all the associated validation/parsing routines.
|
# all the associated validation/parsing routines.
|
||||||
#
|
#
|
||||||
|
|
||||||
struct Preferences
|
class Preferences
|
||||||
include JSON::Serializable
|
include JSON::Serializable
|
||||||
include YAML::Serializable
|
include YAML::Serializable
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue