summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/class/src
diff options
context:
space:
mode:
authorruki <[email protected]>2025-11-10 06:35:04 +0800
committerGitHub <[email protected]>2025-11-10 06:35:04 +0800
commit2b01e46fcf619aaecb8435b0fac975e3aff0587f (patch)
tree8f005a8dfc3272e9f027560e5e1b5881a7a8bc70 /tests/projects/c++/modules/class/src
parenta1b0ec856e2c22aac84022feb05b6687912e3d6e (diff)
parent2c387895657ae13cd717d7f42f5baed5eb028a8e (diff)
Merge pull request #7008 from xmake-io/format
format code
Diffstat (limited to 'tests/projects/c++/modules/class/src')
-rw-r--r--tests/projects/c++/modules/class/src/hello_impl.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/projects/c++/modules/class/src/hello_impl.cpp b/tests/projects/c++/modules/class/src/hello_impl.cpp
index 5dd555a7a..b09f4b96c 100644
--- a/tests/projects/c++/modules/class/src/hello_impl.cpp
+++ b/tests/projects/c++/modules/class/src/hello_impl.cpp
@@ -5,10 +5,9 @@ module hello;
using namespace std;
namespace hello {
- say::say(int data) : data_(data) {
-
- }
- void say::hello() {
- cout << "hello, say class: " << data_ << endl;
- }
+say::say(int data) : data_(data) {
+}
+void say::hello() {
+ cout << "hello, say class: " << data_ << endl;
}
+} // namespace hello