[Scummvm-git-logs] scummvm master -> 77e3c721850ea9b5d3948aace119a0a37c6a112c

whoozle noreply at scummvm.org
Tue Feb 10 20:51:37 UTC 2026


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
77e3c72185 PHOENIXVR: replace using with constructors


Commit: 77e3c721850ea9b5d3948aace119a0a37c6a112c
    https://github.com/scummvm/scummvm/commit/77e3c721850ea9b5d3948aace119a0a37c6a112c
Author: Vladimir Menshakov (vladimir.menshakov at gmail.com)
Date: 2026-02-10T20:50:51Z

Commit Message:
PHOENIXVR: replace using with constructors

Changed paths:
    engines/phoenixvr/commands.h


diff --git a/engines/phoenixvr/commands.h b/engines/phoenixvr/commands.h
index 2cfd1819d22..75a20e8dbf7 100644
--- a/engines/phoenixvr/commands.h
+++ b/engines/phoenixvr/commands.h
@@ -648,7 +648,7 @@ Script::CommandPtr createCommand(const Common::String &cmd, const Common::Array<
 }
 
 struct IfAnd : public Script::Conditional {
-	using Conditional::Conditional;
+	IfAnd(Common::Array<Common::String> args) : Script::Conditional(Common::move(args)) {}
 	void exec(Script::ExecutionContext &ctx) const override {
 		bool result = true;
 		for (auto &var : vars) {
@@ -667,7 +667,7 @@ struct IfAnd : public Script::Conditional {
 };
 
 struct IfOr : public Script::Conditional {
-	using Conditional::Conditional;
+	IfOr(Common::Array<Common::String> args) : Script::Conditional(Common::move(args)) {}
 	void exec(Script::ExecutionContext &ctx) const override {
 		bool result = false;
 		for (auto &var : vars) {




More information about the Scummvm-git-logs mailing list