Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
e238386c
Commit
e238386c
authored
Feb 15, 2019
by
chili
Browse files
fix noexcept spec
parent
c98e3648
Changes
2
Hide whitespace changes
Inline
Side-by-side
hw3d/Bindable.cpp
View file @
e238386c
...
...
@@ -10,7 +10,7 @@ ID3D11Device* Bindable::GetDevice( Graphics& gfx ) noexcept
return
gfx
.
pDevice
.
Get
();
}
DxgiInfoManager
&
Bindable
::
GetInfoManager
(
Graphics
&
gfx
)
noexcept
(
!
IS_DEBUG
)
DxgiInfoManager
&
Bindable
::
GetInfoManager
(
Graphics
&
gfx
)
noexcept
(
IS_DEBUG
)
{
#ifndef NDEBUG
return
gfx
.
infoManager
;
...
...
hw3d/Bindable.h
View file @
e238386c
...
...
@@ -9,5 +9,5 @@ public:
protected:
static
ID3D11DeviceContext
*
GetContext
(
Graphics
&
gfx
)
noexcept
;
static
ID3D11Device
*
GetDevice
(
Graphics
&
gfx
)
noexcept
;
static
DxgiInfoManager
&
GetInfoManager
(
Graphics
&
gfx
)
noexcept
(
!
IS_DEBUG
);
static
DxgiInfoManager
&
GetInfoManager
(
Graphics
&
gfx
)
noexcept
(
IS_DEBUG
);
};
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment