diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-30 14:48:04 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-05-30 14:48:04 +0200 |
commit | 4e870a98a8a2e589f7e1487770665afa32d2cb9b (patch) | |
tree | 36c014fb3429837b1f5ed460729eeebf8672a52d /src/Flowgraph.h | |
parent | 13c6583d4ee44e5b9785385e528de695e4744d11 (diff) | |
download | dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.tar.gz dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.tar.bz2 dabmod-4e870a98a8a2e589f7e1487770665afa32d2cb9b.zip |
Avoid variable shadowing function warnings
Diffstat (limited to 'src/Flowgraph.h')
-rw-r--r-- | src/Flowgraph.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Flowgraph.h b/src/Flowgraph.h index 08ead14..43550d0 100644 --- a/src/Flowgraph.h +++ b/src/Flowgraph.h @@ -51,10 +51,8 @@ public: std::shared_ptr<ModPlugin> plugin() { return myPlugin; } int process(); - time_t processTime() { return myProcessTime; } - void addProcessTime(time_t processTime) { - myProcessTime += processTime; - } + time_t processTime() const; + void addProcessTime(time_t time); void addOutputBuffer(Buffer::sptr& buffer, Metadata_vec_sptr& md); void removeOutputBuffer(Buffer::sptr& buffer, Metadata_vec_sptr& md); |