mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-17 12:44:40 +03:00
book: fix indent typos (#117)
This commit is contained in:
@@ -314,6 +314,8 @@ struct A {
|
|||||||
int y;
|
int y;
|
||||||
long long z;
|
long long z;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int main() {
|
||||||
std::atomic<A> a;
|
std::atomic<A> a;
|
||||||
std::cout << std::boolalpha << a.is_lock_free() << std::endl;
|
std::cout << std::boolalpha << a.is_lock_free() << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
@@ -321,6 +321,8 @@ struct A {
|
|||||||
int y;
|
int y;
|
||||||
long long z;
|
long long z;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
int main() {
|
||||||
std::atomic<A> a;
|
std::atomic<A> a;
|
||||||
std::cout << std::boolalpha << a.is_lock_free() << std::endl;
|
std::cout << std::boolalpha << a.is_lock_free() << std::endl;
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user