Browse Source

Restoring authorship annotation for <daga@yandex-team.ru>. Commit 2 of 2.

daga 3 years ago
parent
commit
0437076825
4 changed files with 6 additions and 6 deletions
  1. 1 1
      library/cpp/getopt/small/opt2.cpp
  2. 2 2
      util/generic/buffer.h
  3. 2 2
      util/generic/string.h
  4. 1 1
      util/memory/tempbuf.h

+ 1 - 1
library/cpp/getopt/small/opt2.cpp

@@ -17,7 +17,7 @@ void Opt2::Clear() {
 
 void Opt2::Init(int argc, char* const* argv, const char* optspec, IntRange free_args_num, const char* long_alias) {
     Clear();
-    Argc = argc; 
+    Argc = argc;
     Argv = argv;
     HasErrors = false, BadPosCount = false, UnknownOption = 0, OptionMissingArg = 0;
     UnknownLongOption = nullptr;

+ 2 - 2
util/generic/buffer.h

@@ -101,7 +101,7 @@ public:
     inline void Append(char ch) {
         if (Len_ == Pos_) {
             Reserve(Len_ + 1);
-        } 
+        }
 
         *(Data() + Pos_++) = ch;
     }
@@ -142,7 +142,7 @@ public:
     inline void Reserve(size_t len) {
         if (len > Len_) {
             DoReserve(len);
-        } 
+        }
     }
 
     inline void ReserveExactNeverCallMeInSaneCode(size_t len) {

+ 2 - 2
util/generic/string.h

@@ -803,8 +803,8 @@ public:
     inline void push_back(TCharType c) {
         // TODO
         append(c);
-    } 
- 
+    }
+
     template <class T>
     TBasicString& operator+=(const T& s) {
         return append(s);

+ 1 - 1
util/memory/tempbuf.h

@@ -65,7 +65,7 @@ private:
     static constexpr size_t TypedSize(const size_t size) noexcept {
         return size / sizeof(T);
     }
- 
+
 public:
     TTempArray() = default;