Merge pull request #175 from tkruse/fix-inconsistent-code-indent

fix mixup of indentation strategies inside same codeblocks
This commit is contained in:
Gabriel Dos Reis 2015-09-27 11:52:42 -07:00
commit 5a4c7aaa7f

View File

@ -1899,6 +1899,7 @@ Passing a shared smart pointer (e.g., `std::shared_ptr`) implies a run-time cost
**Example**: **Example**:
template<class T> template<class T>
auto square(T t) { return t*t; } auto square(T t) { return t*t; }
@ -12110,11 +12111,11 @@ When using exceptions as your error handling mechanism, always document this beh
If you define a destructor, you should not use the compiler-generated copy or move operation; you probably need to define or suppress copy and/or move. If you define a destructor, you should not use the compiler-generated copy or move operation; you probably need to define or suppress copy and/or move.
class X { class X {
HANDLE hnd; HANDLE hnd;
// ... // ...
public: public:
~X() { /* custom stuff, such as closing hnd */ } ~X() { /* custom stuff, such as closing hnd */ }
// suspicious: no mention of copying or moving -- what happens to hnd? // suspicious: no mention of copying or moving -- what happens to hnd?