Skip to content

Commit 391f923

Browse files
committed
Make get/setStateInformation virtual
1 parent b4dbb3e commit 391f923

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WECore/CoreJUCEPlugin/CoreAudioProcessor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace WECore::JUCEPlugin {
7171
/**
7272
* Calls writeToXml and stores the XML in the given memory block.
7373
*/
74-
inline void getStateInformation(juce::MemoryBlock& destData) override;
74+
inline virtual void getStateInformation(juce::MemoryBlock& destData) override;
7575

7676
/**
7777
* Collects the registered parameter values and writes them to XML.
@@ -87,7 +87,7 @@ namespace WECore::JUCEPlugin {
8787
/**
8888
* Reads the given memory into an XmlElement and calls restoreFromXml.
8989
*/
90-
inline void setStateInformation(const void* data, int sizeInBytes) override;
90+
inline virtual void setStateInformation(const void* data, int sizeInBytes) override;
9191

9292
/**
9393
* Restores parameter values from previously written XML.

0 commit comments

Comments
 (0)