Parcourir la source

Addressed compiler warning, removed unused variables.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@87 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz il y a 9 ans
Parent
révision
2992ac8557
2 fichiers modifiés avec 7 ajouts et 11 suppressions
  1. 5
    9
      child.cpp
  2. 2
    2
      child.hpp

+ 5
- 9
child.cpp Voir le fichier

@@ -41,8 +41,8 @@ namespace CodeDweller {
ChildStream::ChildStream(std::vector<std::string> const &args,
size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf),
childStreambuf(bufSize),
cmdArgs(args) {
init();
@@ -51,8 +51,8 @@ namespace CodeDweller {
}
ChildStream::ChildStream(std::string const &childpath, size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf) {
std::iostream(&childStreambuf),
childStreambuf(bufSize) {
cmdArgs.push_back(childpath);
init();
@@ -60,8 +60,8 @@ namespace CodeDweller {
}
ChildStream::ChildStream(size_t bufSize) :
childStreambuf(bufSize),
std::iostream(&childStreambuf) {
std::iostream(&childStreambuf),
childStreambuf(bufSize) {
init();
}
@@ -1341,8 +1341,6 @@ namespace CodeDweller {
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
while (!stopFlag) {
char *bufferPtr;
@@ -1440,8 +1438,6 @@ namespace CodeDweller {
CodeDweller::PollTimer pollTimer(nominalPollTime_ms, maximumPollTime_ms);
auto sleepTime = std::chrono::milliseconds(maximumPollTime_ms);
while (!stopFlag) {
char *bufferPtr;

+ 2
- 2
child.hpp Voir le fichier

@@ -1151,8 +1151,8 @@ namespace CodeDweller {
This method checks whether an error occurred when
communicating with the child process.

\param[out] errorDescription contains any description of the
error.
\param[out] errorDescription contains the description of any
error that occurred.

\returns true if an error occurred, false otherwise.


Chargement…
Annuler
Enregistrer