mirror of
https://github.com/MetaCubeX/subconverter.git
synced 2025-11-04 18:19:42 +08:00
Fix build warnings
Fix Docker build error.
This commit is contained in:
parent
2abbd901e4
commit
17628b4a30
3
.github/workflows/docker.yml
vendored
3
.github/workflows/docker.yml
vendored
@ -14,10 +14,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Set up docker buildx
|
- name: Set up docker buildx
|
||||||
id: buildx
|
id: buildx
|
||||||
uses: crazy-max/ghaction-docker-buildx@v2
|
uses: crazy-max/ghaction-docker-buildx@v3
|
||||||
with:
|
with:
|
||||||
buildx-version: latest
|
buildx-version: latest
|
||||||
skip-cache: false
|
|
||||||
qemu-version: latest
|
qemu-version: latest
|
||||||
|
|
||||||
- name: Docker login
|
- name: Docker login
|
||||||
|
|||||||
@ -1592,6 +1592,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct FunctionData {
|
struct FunctionData {
|
||||||
|
explicit FunctionData(const Operation &op, const CallbackFunction &cb = CallbackFunction{}) : operation(op), callback(cb) {}
|
||||||
const Operation operation;
|
const Operation operation;
|
||||||
const CallbackFunction callback;
|
const CallbackFunction callback;
|
||||||
};
|
};
|
||||||
@ -1650,7 +1651,7 @@ public:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return { Operation::None };
|
return FunctionData { Operation::None };
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user