Skip to content

Commit

Permalink
fix: ignored override
Browse files Browse the repository at this point in the history
  • Loading branch information
mystringEmpty committed Feb 12, 2024
1 parent 890b415 commit ca3c980
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,7 @@ jobs:
- name: Package Clear
uses: actions/delete-package-versions@v4
with:
package-name: vcpkg-cmake-config_${{ matrix.triplet_prefix }}
package-type: nuget
min-versions-to-keep: 1
token: ${{ secrets.GITHUB_TOKEN }}

- name: Package Clear All
uses: actions/delete-package-versions@v4
with:
package-name: '*'
package-name: vcpkg-cmake-config_x64-windows
package-type: nuget
min-versions-to-keep: 1
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -241,6 +233,14 @@ jobs:
- name: Install Cross Compiler
run: sudo apt-get update && sudo apt-get install ${{ matrix.apt }}

- name: Package Clear
uses: actions/delete-package-versions@v4
with:
package-name: openssl_${{ matrix.triplet }}
package-type: nuget
min-versions-to-keep: 1
token: ${{ secrets.GITHUB_TOKEN }}

- name: Cache
uses: actions/cache@v3
id: cache
Expand Down
2 changes: 1 addition & 1 deletion Dice/DiceAttrVar.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ struct AttrObject {
}
operator bool()const { return bool(p); }
template<class C>
C* as()const{ return dynamic_cast<C*>(p.get()) }
C* as()const { return dynamic_cast<C*>(p.get()); }
};
class AttrVar {
public:
Expand Down
2 changes: 1 addition & 1 deletion Dice/ManagerSystem.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class Chat :public AnysTable {
at(item) = true;
return *this;
}
void set(const string& key, const AttrVar& val) {
void set(const string& key, const AttrVar& val) override{
if (!key.empty()) {
if (val.is_null())dict.erase(key);
else dict[key] = val;
Expand Down

0 comments on commit ca3c980

Please sign in to comment.