diff options
Diffstat (limited to 'src/NullHandle.h')
| -rw-r--r-- | src/NullHandle.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/NullHandle.h b/src/NullHandle.h index 487a3a3c..4a7b5efc 100644 --- a/src/NullHandle.h +++ b/src/NullHandle.h @@ -43,8 +43,7 @@ namespace aria2 { // Returns const reference of std::shared_ptr<T>(). Static variable null // is shared by all instantiation of this function template. -template<typename T> -const std::shared_ptr<T>& getNull() +template <typename T> const std::shared_ptr<T>& getNull() { static std::shared_ptr<T> null; return null; |
