From b559ec3076676e68139d51b9ae5374f31b94a4e1 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 28 六月 2024 09:30:59 +0800
Subject: [PATCH] update message proc and edit proc
---
jrj/xframe/adt/xarray.hpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/jrj/xframe/adt/xarray.hpp b/jrj/xframe/adt/xarray.hpp
index 63346d6..8801eb4 100644
--- a/jrj/xframe/adt/xarray.hpp
+++ b/jrj/xframe/adt/xarray.hpp
@@ -8,10 +8,10 @@
class xarray : public xobject
{
public:
- xarray(length_(0), capacity_(0),itemms(nullptr){
- }
+ xarray():length_(0), capacity_(0), items(nullptr) {}
+
public:
- xarray*push_back(T t)
+ xarray* push_back(T t)
{
sure_space();
@@ -125,4 +125,5 @@
T* items;
int length_;
int capacity_;
-};
\ No newline at end of file
+
+};
--
Gitblit v1.9.3