summaryrefslogtreecommitdiff
path: root/src/player/backends/utility/com_ptr.h
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2017-03-25 12:30:33 +0100
committerMichał Cichoń <michcic@gmail.com>2017-05-17 04:37:39 +0200
commit21b167532b07f631b107968837dcfdf93025239b (patch)
tree77fc64840d2dabd15a55861c4eac9c23c03bb82b /src/player/backends/utility/com_ptr.h
parenta0f2fe714a64c88fb86a9fa09c5a5918e7f30d7a (diff)
downloadpianobar-windows-21b167532b07f631b107968837dcfdf93025239b.tar.gz
pianobar-windows-21b167532b07f631b107968837dcfdf93025239b.tar.bz2
pianobar-windows-21b167532b07f631b107968837dcfdf93025239b.zip
Switch to #pragma once
# Conflicts: # src/http/http.h # src/player.h
Diffstat (limited to 'src/player/backends/utility/com_ptr.h')
-rw-r--r--src/player/backends/utility/com_ptr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/player/backends/utility/com_ptr.h b/src/player/backends/utility/com_ptr.h
index 23534b2..519caef 100644
--- a/src/player/backends/utility/com_ptr.h
+++ b/src/player/backends/utility/com_ptr.h
@@ -1,5 +1,3 @@
-# ifndef __TD__COM_PTR_H__
-# define __TD__COM_PTR_H__
# pragma once
template <typename T>
@@ -144,5 +142,3 @@ template <typename T> inline bool operator<=(const com_ptr<T>& a, const com_ptr<
template <typename T> inline bool operator>(const com_ptr<T>& a, const com_ptr<T>& b) { return std::greater<T*>()(a.get(), b.get()); }
template <typename T> inline bool operator>=(const com_ptr<T>& a, const com_ptr<T>& b) { return std::greater_equal<T*>()(a.get(), b.get()); }
template <typename T> void swap(com_ptr<T> & lhs, com_ptr<T> & rhs) { lhs.swap(rhs); }
-
-# endif // __TD__COM_PTR_H__ \ No newline at end of file