mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +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.
|
||||
#
|
||||
|
||||
struct Preferences
|
||||
class Preferences
|
||||
include JSON::Serializable
|
||||
include YAML::Serializable
|
||||
|
||||
|
|
Loading…
Reference in a new issue