diff --git a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp index 1695319a64..c838ab2794 100644 --- a/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp +++ b/Gems/Atom/RPI/Code/Source/RPI.Reflect/Material/MaterialAsset.cpp @@ -6,8 +6,6 @@ * */ -#pragma optimize("", off) - #include #include #include @@ -254,5 +252,3 @@ namespace AZ } // namespace RPI } // namespace AZ - -#pragma optimize("", on)