Browse Source

fixed typos & missing vector header

git-svn-id: https://svn.microneil.com/svn/CodeDweller/trunk@112 d34b734f-a00e-4b39-a726-e4eeb87269ab
wx
madscientist 8 years ago
parent
commit
309315dfe8
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      configuration.cpp
  2. 1
    0
      configuration.hpp

+ 2
- 2
configuration.cpp View File

@@ -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 View File

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

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

Loading…
Cancel
Save