Browse Source

This can be inlined

Bryan Drewery 7 years ago
parent
commit
1552f7f547
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/EncryptedStream.h

+ 1 - 1
src/EncryptedStream.h

@@ -34,7 +34,7 @@ class EncryptedStream : public bd::Stream {
         EncryptedStream(bd::String& keyStr) : Stream(), key(keyStr), enc_flags(ENC_DEFAULT) {};
         EncryptedStream(EncryptedStream& stream) : Stream(stream), key(stream.key), enc_flags(ENC_DEFAULT) {};
 
-        void setFlags(const char _enc_flags) const noexcept {
+        inline void setFlags(const char _enc_flags) const noexcept {
           enc_flags = _enc_flags;
         }
         virtual int loadFile(const int fd);