Kaynağa Gözat

Cosmetic change to error message.


git-svn-id: https://svn.microneil.com/svn/CodeDweller/branches/adeniz_1@50 d34b734f-a00e-4b39-a726-e4eeb87269ab
adeniz_1
adeniz 9 yıl önce
ebeveyn
işleme
8fcee57460
2 değiştirilmiş dosya ile 10 ekleme ve 2 silme
  1. 1
    1
      child.cpp
  2. 9
    1
      child.hpp

+ 1
- 1
child.cpp Dosyayı Görüntüle

@@ -413,7 +413,7 @@ namespace CodeDweller {
// Check whether the process is running, and get the exit code.
if (!isDone()) {
throw std::logic_error("Child process was still running"
throw std::logic_error("Child process was still running "
"when result() was called");
}

+ 9
- 1
child.hpp Dosyayı Görüntüle

@@ -179,7 +179,7 @@ namespace CodeDweller {

};

/// Stream buffer for reading to the stdout of the child process;
/// Stream buffer for reading from the stdout of the child process;
ReadStreambuf readStreambuf;

/// Stream buffer for writing to the stdin of the child process;
@@ -232,6 +232,14 @@ namespace CodeDweller {
*/
void run();

/** Check if input is available.

\returns true if at least one character is available for
reading.

*/
//bool hasData();

/** Terminite the child process.

\throws runtime_error if an error occurs.

Loading…
İptal
Kaydet