diff options
| author | jhurst <jhurst@cinecert.com> | 2006-11-21 23:58:00 +0000 |
|---|---|---|
| committer | jhurst <> | 2006-11-21 23:58:00 +0000 |
| commit | f0476a3789369459fb91076af4a29372d86d7622 (patch) | |
| tree | 6502d6fc94619371219d23c7522fd5ae7e6525bc /src/KM_error.h | |
| parent | 9f903fec9d68fc58399a925b0311af3dc9a3faf2 (diff) | |
MPEG parser fixes: zero run-in patch, header buffer increase
Diffstat (limited to 'src/KM_error.h')
| -rwxr-xr-x | src/KM_error.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/KM_error.h b/src/KM_error.h index ed171be..a91d416 100755 --- a/src/KM_error.h +++ b/src/KM_error.h @@ -55,13 +55,13 @@ namespace Kumu inline bool operator==(const Result_t& rhs) const { return value == rhs.value; } inline bool operator!=(const Result_t& rhs) const { return value != rhs.value; } - inline bool Success() { return ( value >= 0 ); } - inline bool Failure() { return ( value < 0 ); } + inline bool Success() const { return ( value >= 0 ); } + inline bool Failure() const { return ( value < 0 ); } - inline long Value() { return value; } + inline long Value() const { return value; } inline operator long() const { return value; } - inline const char* Label() { return label; } + inline const char* Label() const { return label; } inline operator const char*() const { return label; } }; |
