Kaynağa Gözat

fixed typos & missing vector header

git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
wx
madscientist 8 yıl önce
ebeveyn
işleme
309315dfe8
2 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 2
    2
      configuration.cpp
  2. 1
    0
      configuration.hpp

+ 2
- 2
configuration.cpp Dosyayı Görüntüle

@@ -907,7 +907,7 @@ bool ConfigurationElement::interpret(ConfigurationData& Data) {

int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need?
vector<char> heapBfr(BfrSize,0); // Make one that size.
char *Bfr = &heabBfr[0];
char* Bfr = &heapBfr[0];

copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and ignore our lines.

@@ -1100,7 +1100,7 @@ bool ConfigurationAttribute::interpret(ConfigurationData& Data) {

int BfrSize = Stopdex - Startdex +1; // How big a buffer do we need?
vector<char> heapBfr(BfrSize,0); // Make one that size.
char *Bfr = &heabBfr[0];
char* Bfr = &heapBfr[0];

NewLines += copyDataCountLines(Bfr, Data, Startdex, Stopdex); // Get our data and count our lines.


+ 1
- 0
configuration.hpp Dosyayı Görüntüle

@@ -109,6 +109,7 @@
#define configuration_included

#include <string>
#include <vector>
#include <sstream>
#include <fstream>
#include <cstring>

Loading…
İptal
Kaydet