소스 검색

This can be inlined

Bryan Drewery 7 년 전
부모
커밋
1552f7f547
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);