1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-17 21:30:14 +00:00

Corrects SConstruct; applies default initialisation in Struct.cpp.

This commit is contained in:
Thomas Harte 2020-05-09 18:11:50 -04:00
parent 40b60fe5d4
commit 4c6d0f7fa0
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
buildConfiguration = "Release"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
enableASanStackUseAfterReturn = "YES"

View File

@ -50,7 +50,7 @@ SOURCES += glob.glob('../../Components/AudioToggle/*.cpp')
SOURCES += glob.glob('../../Components/AY38910/*.cpp')
SOURCES += glob.glob('../../Components/DiskII/*.cpp')
SOURCES += glob.glob('../../Components/KonamiSCC/*.cpp')
SOURCES += glob.glob('../../Components/OPLx/*.cpp')
SOURCES += glob.glob('../../Components/OPx/*.cpp')
SOURCES += glob.glob('../../Components/SN76489/*.cpp')
SOURCES += glob.glob('../../Components/Serial/*.cpp')

View File

@ -122,7 +122,7 @@ template <typename Type> bool Reflection::get(const Struct &target, const std::s
}
template <typename Type> Type Reflection::get(const Struct &target, const std::string &name) {
Type value;
Type value{};
get(target, name, value);
return value;
}