Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
felix
/
ftb
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
small fix in array lists
banana-cakes
FelixBrendel
6 anni fa
parent
7b128b33c9
commit
60e3253036
1 ha cambiato i file
con
1 aggiunte
e
1 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+1
-1
arraylist.hpp
+ 1
- 1
arraylist.hpp
Vedi File
@@ -52,7 +52,7 @@ struct Array_List {
}
void reserve(unsigned int count) {
if (next_index+count
<
= (unsigned int)length) {
if (next_index+count
>
= (unsigned int)length) {
length *= 2;
data = (type*)realloc(data, length * sizeof(type));
}
Scrivi
Anteprima
Caricamento…
Annulla
Salva