From 49efb6071cbb42384ba8abb7a4696a375c1f8f36 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 18 Jul 2018 09:42:56 +0200 Subject: config/Migrate: library to migrate deprecated settings --- test/run_filter.cxx | 2 ++ test/run_output.cxx | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test') diff --git a/test/run_filter.cxx b/test/run_filter.cxx index fef36b4c0..47e61a2ca 100644 --- a/test/run_filter.cxx +++ b/test/run_filter.cxx @@ -21,6 +21,7 @@ #include "config/Param.hxx" #include "config/Data.hxx" #include "config/File.hxx" +#include "config/Migrate.hxx" #include "fs/Path.hxx" #include "AudioParser.hxx" #include "AudioFormat.hxx" @@ -79,6 +80,7 @@ try { ConfigData config; ReadConfigFile(config, config_path); + Migrate(config); /* parse the audio format */ diff --git a/test/run_output.cxx b/test/run_output.cxx index 9f9c5c1c6..fbfd57947 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -24,6 +24,7 @@ #include "config/Param.hxx" #include "config/Data.hxx" #include "config/File.hxx" +#include "config/Migrate.hxx" #include "config/Option.hxx" #include "config/Block.hxx" #include "event/Thread.hxx" @@ -124,6 +125,7 @@ try { ConfigData config; ReadConfigFile(config, config_path); + Migrate(config); EventThread io_thread; io_thread.Start(); -- cgit v1.2.3