Fix Another Typo causing unresolved external symbol

This commit is contained in:
Ginger Bill 2015-11-18 11:16:48 +00:00
parent ef2665e8bd
commit e262e3df14
2 changed files with 4 additions and 3 deletions

View File

@ -5,7 +5,7 @@ gb single-file public domain libraries for C & C++
library | latest version | category | languages | description library | latest version | category | languages | description
----------------|----------------|----------|-----------|------------- ----------------|----------------|----------|-----------|-------------
**gb_string.h** | 0.93 | strings | C, C++ | A better string library for C & C++ **gb_string.h** | 0.93 | strings | C, C++ | A better string library for C & C++
**gb.hpp** | 0.21b | misc | C++11 | (Experimental) A C++11 helper library without STL geared towards game development **gb.hpp** | 0.21c | misc | C++11 | (Experimental) A C++11 helper library without STL geared towards game development
**gb_math.hpp** | 0.02b | math | C++11 | A C++11 math library geared towards game development **gb_math.hpp** | 0.02b | math | C++11 | A C++11 math library geared towards game development
**gb_ini.h** | 0.91 | misc | C, C++ | A simple ini file loader library for C & C++ **gb_ini.h** | 0.91 | misc | C, C++ | A simple ini file loader library for C & C++

5
gb.hpp
View File

@ -1,8 +1,9 @@
// gb.hpp - v0.21b - public domain C++11 helper library - no warranty implied; use at your own risk // gb.hpp - v0.21c - public domain C++11 helper library - no warranty implied; use at your own risk
// (Experimental) A C++11 helper library without STL geared towards game development // (Experimental) A C++11 helper library without STL geared towards game development
/* /*
Version History: Version History:
0.21c - Fix Another Typo causing unresolved external symbol
0.21b - Typo fixes 0.21b - Typo fixes
0.21a - Better `static` keywords 0.21a - Better `static` keywords
0.21 - Separate Math Library 0.21 - Separate Math Library
@ -1324,7 +1325,7 @@ make(Allocator* allocator, usize count)
template <typename T> template <typename T>
inline void inline void
dealloc(Array<T>* a) free(Array<T>* a)
{ {
if (a->allocator) if (a->allocator)
dealloc(a->allocator, a->data); dealloc(a->allocator, a->data);