Skip to content

Commit

Permalink
Merge pull request #243 from MrShinshi/patch-2
Browse files Browse the repository at this point in the history
Update 心洗.cpp
  • Loading branch information
Mq-b authored Jan 18, 2024
2 parents e79e5c7 + 95585c1 commit e23aed6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/群友提交/第04题/心洗.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//CI-ignore
//msvc
import std;

class ComponentBase {
Expand All @@ -21,8 +21,6 @@ class B : public Component<B> {};

class C : public Component<C> {};

#include <iostream>

int main(int argc, char* argv[]) {
std::cout << "A::id() = " << A::component_type_id() << std::endl;
std::cout << "B::id() = " << B::component_type_id() << std::endl;
Expand All @@ -31,4 +29,4 @@ int main(int argc, char* argv[]) {
std::cout << "A::id() = " << A::component_type_id() << std::endl;
std::cout << "C::id() = " << C::component_type_id() << std::endl;
return 0;
}
}

0 comments on commit e23aed6

Please sign in to comment.