summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/shared/project/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2022-12-01 22:39:39 +0800
committerruki <[email protected]>2022-12-01 22:39:39 +0800
commit0914303fc89e25e51e71a7a628e41578993dcb6d (patch)
tree57af39617ca2d0816fc3f9ffc8f8830bab9c1f42 /xmake/templates/c++/shared/project/src/main.cpp
parent90613a344570916a4a7d197dc20d3af31a38be51 (diff)
improve templates
Diffstat (limited to 'xmake/templates/c++/shared/project/src/main.cpp')
-rw-r--r--xmake/templates/c++/shared/project/src/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/xmake/templates/c++/shared/project/src/main.cpp b/xmake/templates/c++/shared/project/src/main.cpp
index 1bee1b2ad..ed1924789 100644
--- a/xmake/templates/c++/shared/project/src/main.cpp
+++ b/xmake/templates/c++/shared/project/src/main.cpp
@@ -1,10 +1,9 @@
-#include "interface.h"
+#include "foo.h"
#include <iostream>
using namespace std;
-int main(int argc, char** argv)
-{
+int main(int argc, char** argv) {
cout << "add(1, 2) = " << add(1, 2) << endl;
return 0;
}