Bläddra i källkod

fixed typos & missing vector header

git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
wx
madscientist 8 år sedan
förälder
incheckning
309315dfe8
2 ändrade filer med 3 tillägg och 2 borttagningar
  1. 2
    2
      configuration.cpp
  2. 1
    0
      configuration.hpp

+ 2
- 2
configuration.cpp Visa fil

@@ -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 Visa fil

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

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

Laddar…
Avbryt
Spara