Skip to content

Commit

Permalink
update version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Antruly committed Jan 4, 2024
1 parent d75cf81 commit 2358622
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions VCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ set(CORE_FILES
${VCORE_SRC_DIR}/VObject.h
${VCORE_SRC_DIR}/VObject.cpp
${VCORE_SRC_DIR}/VString.h
${VCORE_SRC_DIR}/VVersion.h
)
source_group(Core FILES ${CORE_FILES})

Expand Down
4 changes: 2 additions & 2 deletions VCore/src/VBuf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ VBuf::VBuf(const char* bf, size_t sz) : buf() {
}

void* VBuf::operator new(size_t size) {
return (VBuf*)VCore::malloc(size);
return VCore::malloc(size);
}

void VBuf::operator delete(void* p) {
//((VBuf*)p)->~VBuf();
free(p);
VCore::free(p);
}

VBuf::operator uv_buf_t() { return buf; }
Expand Down
1 change: 1 addition & 0 deletions VCore/src/VLibuv.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include "VVersion.h"
#include "VCore.h"
#include "VHandle.h"
#include "VReq.h"

0 comments on commit 2358622

Please sign in to comment.