summaryrefslogtreecommitdiff
path: root/xmake/templates/c++/shared/project/src/main.cpp
diff options
context:
space:
mode:
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;
}