projects
/
kazan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
109e20b
)
fix missing ::type in observer_ptr
rewrite_spirv_to_llvm
author
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 30 Nov 2017 11:26:01 +0000
(
03:26
-0800)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Thu, 30 Nov 2017 11:26:01 +0000
(
03:26
-0800)
src/util/observer_ptr.h
patch
|
blob
|
history
diff --git
a/src/util/observer_ptr.h
b/src/util/observer_ptr.h
index 39f33c9733e9533d5055a237c9374e033ab8c525..85c1fe89b34b1184095ee7e3d5987fc100b5d8f3 100644
(file)
--- a/
src/util/observer_ptr.h
+++ b/
src/util/observer_ptr.h
@@
-80,7
+80,7
@@
public:
{
return value != nullptr;
}
- constexpr typename std::add_lvalue_reference<T> operator*() const noexcept
+ constexpr typename std::add_lvalue_reference<T>
::type
operator*() const noexcept
{
return *value;
}