Explorar o código

This can be inlined

Bryan Drewery %!s(int64=7) %!d(string=hai) anos
pai
achega
1552f7f547
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);